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

Sebastian Huber sebh at rtems.org
Wed Mar 30 06:14:19 UTC 2016


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

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

score: Fix set but not used warning

---

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

diff --git a/cpukit/rtems/src/eventmp.c b/cpukit/rtems/src/eventmp.c
index dd20840..1532c63 100644
--- a/cpukit/rtems/src/eventmp.c
+++ b/cpukit/rtems/src/eventmp.c
@@ -132,10 +132,7 @@ void _Event_MP_Process_packet (
       break;
 
     case EVENT_MP_SEND_RESPONSE: {
-      Thread_Control  *the_thread;
-
-      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