[rtems commit] score: Fix label defined but not used warning
Sebastian Huber
sebh at rtems.org
Tue Feb 25 13:51:01 UTC 2020
Module: rtems
Branch: master
Commit: 01c97e643a83c80093e0390a5ebc3465dec60426
Changeset: http://git.rtems.org/rtems/commit/?id=01c97e643a83c80093e0390a5ebc3465dec60426
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 25 14:43:52 2020 +0100
score: Fix label defined but not used warning
Update #3835.
---
cpukit/score/src/threadinitialize.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index 5145bcf..742e6e6 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -256,7 +256,9 @@ bool _Thread_Initialize(
if ( extension_status )
return true;
+#if defined(RTEMS_SMP) || CPU_ENABLE_ROBUST_THREAD_DISPATCH == TRUE
failed:
+#endif
#if defined(RTEMS_SMP)
while ( scheduler_index > 0 ) {
More information about the vc
mailing list