summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm15
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:46:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:46:00 +0000
commit3f42f12c9f7f87aff6f01b4ff0a52bff1b2c9c29 (patch)
treef24c1e36eb74adefe5845adbc583f7377d37e3d6 /testsuites/tmtests/tm15
parent2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-3f42f12c9f7f87aff6f01b4ff0a52bff1b2c9c29.tar.bz2
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm15/task1.c: Remove warnings.
Diffstat (limited to 'testsuites/tmtests/tm15')
-rw-r--r--testsuites/tmtests/tm15/task1.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/testsuites/tmtests/tm15/task1.c b/testsuites/tmtests/tm15/task1.c
index fb4c0c2418..ec70e38e1e 100644
--- a/testsuites/tmtests/tm15/task1.c
+++ b/testsuites/tmtests/tm15/task1.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -203,10 +203,8 @@ rtems_task High_tasks(
rtems_task_argument argument
)
{
- rtems_status_code status;
-
if ( time_set )
- status = rtems_event_receive(
+ (void) rtems_event_receive(
RTEMS_EVENT_16,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT,
@@ -214,8 +212,9 @@ rtems_task High_tasks(
);
else {
time_set = true;
- benchmark_timer_initialize(); /* start blocking rtems_event_receive time */
- status = rtems_event_receive(
+ /* start blocking rtems_event_receive time */
+ benchmark_timer_initialize();
+ (void) rtems_event_receive(
RTEMS_EVENT_16,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT,