summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-06 17:29:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-06 17:29:29 +0000
commit3cefd8f09020580bdb7edefc6c8cfaae34d82968 (patch)
tree7833f1e63ea3cef08c7bae387ed79b3c822dde7d /testsuites/psxtests/psxmsgq01
parent2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-3cefd8f09020580bdb7edefc6c8cfaae34d82968.tar.bz2
2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c, psxmsgq01/init.c, psxreaddir/test.c: Fix tests broken in warning pass.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01')
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c
index 89572408c2..52eb22b90c 100644
--- a/testsuites/psxtests/psxmsgq01/init.c
+++ b/testsuites/psxtests/psxmsgq01/init.c
@@ -1193,7 +1193,6 @@ void verify_timedout_mq_timedsend(
struct timeval tv1, tv2, tv3;
struct timezone tz1, tz2;
int len;
- int status;
char *msg;
printf( "Init: verify_timedout_mq_timedsend - on queue %s ", Test_q[que].name);
@@ -1204,8 +1203,7 @@ void verify_timedout_mq_timedsend(
timeout.tv_sec = tv1.tv_sec - 1;
timeout.tv_nsec = tv1.tv_usec * 1000;
- status = mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
- rtems_test_assert( status == 0 );
+ (void) mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
gettimeofday( &tv2, &tz2 );
tv3.tv_sec = tv2.tv_sec - tv1.tv_sec;