[PATCH rtems-examples 17/23] classic_api/classic_signal: Fix warnings

Joel Sherrill joel at rtems.org
Wed Feb 23 22:21:45 UTC 2022


---
 classic_api/classic_signal/test.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/classic_api/classic_signal/test.c b/classic_api/classic_signal/test.c
index 098d464..c138177 100644
--- a/classic_api/classic_signal/test.c
+++ b/classic_api/classic_signal/test.c
@@ -33,9 +33,7 @@ rtems_timer_service_routine test_signal_from_isr(
   void     *arg
 )
 {
-  rtems_status_code     status;
-
-  status = rtems_signal_send( main_task, 0x0a0b0c0d );
+  (void) rtems_signal_send( main_task, 0x0a0b0c0d );
 
   signal_sent = TRUE;
 }
-- 
1.8.3.1



More information about the devel mailing list