Skip to content

Fix #1556, Initialize Variables in osapi-clock.c - #1557

Merged
arielswalker merged 1 commit into
nasa:devfrom
arielswalker:fix-1556-initialize-variables-osapi-clock
Jun 29, 2026
Merged

Fix #1556, Initialize Variables in osapi-clock.c#1557
arielswalker merged 1 commit into
nasa:devfrom
arielswalker:fix-1556-initialize-variables-osapi-clock

Conversation

@arielswalker

Copy link
Copy Markdown
Contributor

Checklist (Please check before submitting)

Describe the contribution
Fixes #1556

Testing performed
GitHub Actions and CodeSonar

Expected behavior changes
Resolve CodeSonar warnings on uninitialized variables

System(s) tested on
GitHub Actions and CodeSonar. CodeSonar results will be posted on the internal ticket.

Contributor Info - All information REQUIRED for consideration of pull request
Ariel Walker, MCSG TECH.

@arielswalker arielswalker self-assigned this Jun 23, 2026

@jphickey jphickey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend using the OS_TIME_ZERO constant as the initializer.

Comment thread src/os/shared/src/osapi-clock.c
@arielswalker
arielswalker force-pushed the fix-1556-initialize-variables-osapi-clock branch from cff5b4e to fc8eaf6 Compare June 26, 2026 16:18
@arielswalker
arielswalker requested a review from jphickey June 26, 2026 16:21
@arielswalker
arielswalker merged commit 31916a4 into nasa:dev Jun 29, 2026
17 checks passed
@arielswalker
arielswalker deleted the fix-1556-initialize-variables-osapi-clock branch June 29, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uninitialized Variables in osapi-clock.c

3 participants