From 3cefd8f09020580bdb7edefc6c8cfaae34d82968 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 6 May 2011 17:29:29 +0000 Subject: 2011-05-06 Joel Sherrill * psxfile01/test.c, psxmsgq01/init.c, psxreaddir/test.c: Fix tests broken in warning pass. --- testsuites/psxtests/psxmsgq01/init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuites/psxtests/psxmsgq01/init.c') 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; -- cgit v1.2.3