Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potentially uninitialized local variable (false alarm squash) - CodeQL #1252

Closed
skliper opened this issue Mar 23, 2021 · 0 comments · Fixed by #1253 or #1258
Closed

Potentially uninitialized local variable (false alarm squash) - CodeQL #1252

skliper opened this issue Mar 23, 2021 · 0 comments · Fixed by #1253 or #1258
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Mar 23, 2021

Is your feature request related to a problem? Please describe.
Another round of potentially uninitialized local variable squashes. All false alarms but easy to initialized.

osal_id_t AppFile;

osal_id_t SysQueueId;

osal_id_t FileHandle;

osal_id_t LogFileHandle;

osal_id_t FileDescriptor;

osal_id_t FileDescriptor;

osal_id_t FileDescriptor;

Describe the solution you'd like
Initialize

Describe alternatives you've considered
None

Additional context
Static analysis warnings

Requester Info
Jacob Hageman - NASA/GSFC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant