MITHILESH MATTAPALLI commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1053#note_142154 I closed this MR because of a git history mix-up, but regarding your point: You are right that strictly speaking, the current switch logic covers all paths, making this a false positive. However, I am submitting a clean version of this fix as a 'defense in depth' measure. Explicitly initializing `spolicy` ensures the code remains safe even if the switch logic is modified in the future, and it permanently resolves the static analysis warning without needing a suppression list. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1053#note_142154 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
