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

Fix #788, Resolve coercion alters value warnings #789

Merged

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Feb 10, 2021

Describe the contribution
Fix #788 - fixed two locations with local return code defined as uint32, should be int32 (or eventually the status type)

Testing performed
Build and execute unit tests, passed

Expected behavior changes
No functional change, just resolves warnings

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: cFS Bundle main + this commit

Additional context
Static analysis warning

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@astrogeco astrogeco changed the base branch from main to integration-candidate February 12, 2021 20:34
@astrogeco astrogeco merged commit e882996 into nasa:integration-candidate Feb 12, 2021
@astrogeco
Copy link
Contributor

Describe the contribution
Fix #788 - fixed two locations with local return code defined as uint32, should be int32 (or eventually the status type)

Should we open an issue to update these to the "status type"?

@skliper
Copy link
Contributor Author

skliper commented Feb 16, 2021

@astrogeco apparently I was thinking of the CFE_Status_t which doesn't apply to osal. Fine as-is for now.

@skliper skliper mentioned this pull request Feb 16, 2021
@skliper
Copy link
Contributor Author

skliper commented Feb 16, 2021

Just saw this duplicates #669 fix, noting here for reference.

@skliper skliper deleted the fix788-coercion_alters_value branch April 1, 2021 20:07
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 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.

Coercion Alters Value - static analysis warnings
4 participants