[rtems-central commit] spec: Fix warning
Sebastian Huber
sebh at rtems.org
Wed Apr 7 05:05:15 UTC 2021
Module: rtems-central
Branch: master
Commit: 3796f5e8c2f6c8f713cb3c082eb88bf6ac182169
Changeset: http://git.rtems.org/rtems-central/commit/?id=3796f5e8c2f6c8f713cb3c082eb88bf6ac182169
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 7 07:04:45 2021 +0200
spec: Fix warning
---
spec/rtems/signal/req/send.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/spec/rtems/signal/req/send.yml b/spec/rtems/signal/req/send.yml
index 6e9d02d..2bff954 100644
--- a/spec/rtems/signal/req/send.yml
+++ b/spec/rtems/signal/req/send.yml
@@ -305,8 +305,6 @@ test-prepare: |
test-setup:
brief: null
code: |
- rtems_status_code sc;
-
memset( ctx, 0, sizeof( *ctx ) );
ctx->runner_id = rtems_task_self();
SetSelfPriority( PRIO_NORMAL );
@@ -315,7 +313,8 @@ test-setup:
#if defined(RTEMS_SMP)
if ( rtems_scheduler_get_processor_maximum() > 1 ) {
- rtems_id scheduler_id;
+ rtems_status_code sc;
+ rtems_id scheduler_id;
sc = rtems_scheduler_ident_by_processor( 1, &scheduler_id );
T_assert_rsc_success( sc );
More information about the vc
mailing list