[rtems commit] score: Fix set but not used warning

Sebastian Huber sebh at rtems.org
Wed Mar 30 06:47:08 UTC 2016


Module:    rtems
Branch:    master
Commit:    06f68a96b1725cd29fc81f09b9e8f6bec2a65783
Changeset: http://git.rtems.org/rtems/commit/?id=06f68a96b1725cd29fc81f09b9e8f6bec2a65783

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar 30 08:34:23 2016 +0200

score: Fix set but not used warning

---

 cpukit/rtems/src/signalmp.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cpukit/rtems/src/signalmp.c b/cpukit/rtems/src/signalmp.c
index 4a2d573..40daf69 100644
--- a/cpukit/rtems/src/signalmp.c
+++ b/cpukit/rtems/src/signalmp.c
@@ -113,7 +113,6 @@ void _Signal_MP_Process_packet (
 )
 {
   Signal_MP_Packet *the_packet;
-  Thread_Control   *the_thread;
 
   the_packet = (Signal_MP_Packet *) the_packet_prefix;
 
@@ -134,8 +133,7 @@ void _Signal_MP_Process_packet (
 
     case SIGNAL_MP_SEND_RESPONSE:
 
-      the_thread = _MPCI_Process_response( the_packet_prefix );
-
+      _MPCI_Process_response( the_packet_prefix );
       _MPCI_Return_packet( the_packet_prefix );
       break;
 




More information about the vc mailing list