RTEMS | cpukit/libblock/src/bdbuf.c: Uninitialized variable warning (!604)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jul 17 21:37:36 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/604

Project:Branches: joel/rtems:libblock-bdbuf.c-uninitialized-warning to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

cpukit/libblock/src/bdbuf.c: Uninitialized variable warning

On some BSP builds, the variable q was reported as used before
it was initialized. This is a false positive. The variable is now
initialized to NULL to prevent this.


<!-- 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/604
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/20250717/41cd61d7/attachment-0001.htm>


More information about the bugs mailing list