[rtems commit] Revert "score: Avoid use of uninitialized variable"

Sebastian Huber sebh at rtems.org
Wed May 11 14:44:27 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed May 11 16:42:29 2016 +0200

Revert "score: Avoid use of uninitialized variable"

Sorry, I should not fix warnings unmindfully.

This reverts commit 35c8efc9501b5f6b1a4dfeaa4b1aa6a1d6dbf08e.

---

 cpukit/score/include/rtems/score/schedulersmpimpl.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulersmpimpl.h
index c3a1e02..a395f2c 100644
--- a/cpukit/score/include/rtems/score/schedulersmpimpl.h
+++ b/cpukit/score/include/rtems/score/schedulersmpimpl.h
@@ -657,7 +657,6 @@ static inline Thread_Control *_Scheduler_SMP_Enqueue_ordered(
     );
   } else {
     ( *insert_ready )( context, node );
-    needs_help = NULL;
   }
 
   return needs_help;




More information about the vc mailing list