RTEMS | libfs/src/dosfs/msdos_conv.c: Fix may be used uninitialized warning (!1231)

Joel Sherrill (@joel) gitlab at rtems.org
Tue May 5 17:38:16 UTC 2026



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

Project:Branches: joel/rtems:fix-riscv-fdt.c-warning to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill


## Summary

libfs/src/dosfs/msdos_conv.c: Fix may be used uninitialized warning

Moved variable "c" to scope closer to use and initialized it to 0.


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->
Human powered.


<!-- 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/1231
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/20260505/890dd359/attachment-0001.htm>


More information about the bugs mailing list