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

Joel Sherrill (@joel) gitlab at rtems.org
Tue May 5 15:19:24 UTC 2026



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

Project:Branches: joel/rtems:fix-msdos_conv-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/1230
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/37e013b8/attachment.htm>


More information about the bugs mailing list