[PATCH 11/11] rtems: Mark value as used
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jan 28 15:28:07 UTC 2021
This fix relates to a Coverity issue (UNUSED_VALUE).
---
cpukit/rtems/src/semrelease.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/rtems/src/semrelease.c b/cpukit/rtems/src/semrelease.c
index c31f242a98..3a1f9671fe 100644
--- a/cpukit/rtems/src/semrelease.c
+++ b/cpukit/rtems/src/semrelease.c
@@ -86,6 +86,7 @@ rtems_status_code rtems_semaphore_release( rtems_id id )
status == STATUS_SUCCESSFUL
|| status == STATUS_MAXIMUM_COUNT_EXCEEDED
);
+ (void) status;
status = STATUS_SUCCESSFUL;
break;
#if defined(RTEMS_SMP)
--
2.26.2
More information about the devel
mailing list