RTEMS | uC5282/console/console.c: Fix misleading indentation warning (!588)

Jeremy Lorelli (@jjl77) gitlab at rtems.org
Wed Jul 16 16:25:47 UTC 2025



Jeremy Lorelli created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/588

Project:Branches: jjl77/rtems:pr-uC5282-warn-fix to rtems/rtos/rtems:main
Author:   Jeremy Lorelli




## Summary

Upstreaming some random changes.

uC5282/console/console.c: Fix misleading indentation warning

The rtems_interrupt_disable macros expand to some code that
is indented. GCC sees this as misleading indentation next
to the while loop without braces.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/588
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/20250716/1235175f/attachment.htm>


More information about the bugs mailing list