Refactor to avoid possible uninitialized local variables #783
Labels
enhancement
security
unit-test
Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Is your feature request related to a problem? Please describe.
osal/src/ut-stubs/osapi-utstub-idmap.c
Lines 137 to 152 in 09a2c5e
osal/src/unit-tests/osfile-test/ut_osfile_dirio_test.c
Line 519 in 09a2c5e
osal/src/unit-tests/osfile-test/ut_osfile_dirio_test.c
Line 651 in 09a2c5e
Note the only one in non-test code is a false alarm so I'm not marking as a bug and not critical, but easy to squash:
osal/src/os/shared/src/osapi-idmap.c
Line 678 in 09a2c5e
Describe the solution you'd like
Fix.
Describe alternatives you've considered
None
Additional context
CodeQL warnings
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: