Skip to content

Fix #55, resolve uninitialized pointer warning#85

Merged
astrogeco merged 1 commit intonasa:mainfrom
jphickey:fix-55-uninit-ptr-warning
Dec 8, 2021
Merged

Fix #55, resolve uninitialized pointer warning#85
astrogeco merged 1 commit intonasa:mainfrom
jphickey:fix-55-uninit-ptr-warning

Conversation

@jphickey
Copy link
Copy Markdown
Contributor

@jphickey jphickey commented Dec 2, 2021

Initialize the variables at the beginning of the function. They will be set again in the loop, but this avoids the compiler warning.

Fixes #55

Initialize the variables at the beginning of the function.  They
will be set again in the loop, but this avoids the compiler warning.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Dec 2, 2021
Copy link
Copy Markdown
Contributor

@astrogeco astrogeco left a comment

Choose a reason for hiding this comment

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

should we replace the "dummy" prefix for these?

@astrogeco astrogeco added CCB:Approved and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Dec 8, 2021
@astrogeco
Copy link
Copy Markdown
Contributor

CCB:2021-12-08 - APPROVED

@astrogeco astrogeco merged commit e8562bf into nasa:main Dec 8, 2021
@jphickey jphickey deleted the fix-55-uninit-ptr-warning branch December 9, 2021 16:39
@skliper skliper added this to the Draco milestone Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CF tests for "CList" functions pointers may be used uninitialized warnings

3 participants