-
Notifications
You must be signed in to change notification settings - Fork 253
Closed
Labels
unit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Description
Is your feature request related to a problem? Please describe.
cppcheck warning from #301
[osal/src/ut-stubs/osapi-utstub-file.c:108] -> [osal/src/ut-stubs/osapi-utstub-file.c:110]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-file.c:147] -> [osal/src/ut-stubs/osapi-utstub-file.c:149]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-mutex.c:127] -> [osal/src/ut-stubs/osapi-utstub-mutex.c:129]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-mutex.c:156] -> [osal/src/ut-stubs/osapi-utstub-mutex.c:158]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-queue.c:102] -> [osal/src/ut-stubs/osapi-utstub-queue.c:104]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-queue.c:145] -> [osal/src/ut-stubs/osapi-utstub-queue.c:147]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-queue.c:186] -> [osal/src/ut-stubs/osapi-utstub-queue.c:188]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-task.c:157] -> [osal/src/ut-stubs/osapi-utstub-task.c:159]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/osapi-utstub-task.c:182] -> [osal/src/ut-stubs/osapi-utstub-task.c:184]: (style) Variable 'status' is reassigned a value before the old one has been used.
[osal/src/ut-stubs/utstub-helpers.c:194]: (style) Variable 'InUse' is modified but its new value is never used.
Describe the solution you'd like
resolve cppcheck warning
Requester Info
Anh Van, NASA Goddard
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
unit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)