summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-20 08:31:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-20 08:56:28 +0200
commit79fb53687bdcff6f40b9ec9f98a159fe28c1bb4f (patch)
treede4824a8f4cb9d4b5dcc9351ea953ce1b485b4c3
parent218053d0f193ab9945d082f0a5855a82072cdab6 (diff)
downloadrtems-79fb53687bdcff6f40b9ec9f98a159fe28c1bb4f.tar.bz2
spintrcritical23: Fix unused variable warnings
-rw-r--r--testsuites/sptests/spintrcritical23/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spintrcritical23/init.c b/testsuites/sptests/spintrcritical23/init.c
index 454941fc1e..5959153b71 100644
--- a/testsuites/sptests/spintrcritical23/init.c
+++ b/testsuites/sptests/spintrcritical23/init.c
@@ -149,7 +149,7 @@ T_TEST_CASE(TaskSetPriorityInterrupt)
rtems_task_priority prio;
sc = rtems_task_set_priority(RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &prio);
- T_rsc_success(RTEMS_SUCCESSFUL);
+ T_rsc_success(sc);
memset(&ctx, 0, sizeof(ctx));
rtems_interrupt_lock_initialize(&ctx.lock, "Test");
@@ -164,7 +164,7 @@ T_TEST_CASE(TaskSetPriorityInterrupt)
rtems_interrupt_lock_destroy(&ctx.lock);
sc = rtems_task_set_priority(RTEMS_SELF, prio, &prio);
- T_rsc_success(RTEMS_SUCCESSFUL);
+ T_rsc_success(sc);
}
static rtems_task Init(rtems_task_argument argument)