summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-10-22 13:45:38 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-11-25 14:44:59 -0600
commit4375b3b660d63af4fe8613b7b8ae9c4b0080de66 (patch)
tree48c8d3dcba5bf54e283b3d6fc2074d0bf1152b18
parent689cba286f8b11e74fe3f02a1ad48719ffbd6a79 (diff)
downloadrtems-4375b3b660d63af4fe8613b7b8ae9c4b0080de66.tar.bz2
smp03: Remove set but not used warning.
Added status validation.
-rw-r--r--testsuites/smptests/smp03/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/smptests/smp03/init.c b/testsuites/smptests/smp03/init.c
index 4b443d07fa..03eddb0eaa 100644
--- a/testsuites/smptests/smp03/init.c
+++ b/testsuites/smptests/smp03/init.c
@@ -83,7 +83,9 @@ rtems_task Init(
RTEMS_DEFAULT_ATTRIBUTES,
&id
);
+ directive_failed( status, "rtems_task_create" );
status = rtems_task_start( id, Test_task, i );
+ directive_failed( status, "rtems_task_start" );
/* Allow task to start before starting next task.
* This is necessary on some simulators.
@@ -101,7 +103,9 @@ rtems_task Init(
RTEMS_DEFAULT_ATTRIBUTES,
&id
);
+ directive_failed( status, "rtems_task_create" );
status = rtems_task_start(id,Test_task,rtems_get_processor_count());
+ directive_failed( status, "rtems_task_start" );
/* Wait on all tasks to run */
while (1) {