[PATCH 11/11] rtems: Mark value as used

Gedare Bloom gedare at rtems.org
Fri Jan 29 16:44:20 UTC 2021


rest of these looked fine to me

On Thu, Jan 28, 2021 at 8:28 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210129/30ddd224/attachment.html>


More information about the devel mailing list