RTEMS | bsps/powerpc: Address -Wsign-compare warnings (!1009)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Feb 5 14:57:42 UTC 2026
Joel Sherrill commented on a discussion on bsps/powerpc/shared/vme/vmeUniverse.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1009#note_141573
> if ( q )
> rtems_message_queue_delete(q);
>
> - return sc ? sc : err;
> + if ( sc ) {
> + return sc;
> + }
> + return err;
Again rtems_status_code vs integer. Breaking it apart avoids a cast.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1009#note_141573
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260205/a1402a68/attachment-0001.htm>
More information about the bugs
mailing list