Skip to content

Local variable hides global in queue-test.c, bin-sem-timeout-test.c, bin-sem-test.c #779

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.

osal_id_t timer_id;

void TimerFunction(osal_id_t timer_id)

Similar in bin-sem-timeout-test.c and bin-sem-test.c

Describe the solution you'd like
Preference is to implement a style such that it's easy to differentiate global vs local variables (local lower case, global camel or similar) or put global variables in a structure (easy to init/clear).

Describe alternatives you've considered
None

Additional context
CodeQL warning

Requester Info
Jacob Hageman - NASA/GSFC

Metadata

Metadata

Assignees

Labels

bugunit-testTickets related to the OSAL unit testing (functional and/or coverage)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions