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 #15 unit test warnings #16

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Fixes #15

  • Remove unused variable
  • Add local function prototype where missing
  • Qualify all pointers to string literals as const

Testing performed
Rebuild OSAL per default configuration with unit tests enabled
Re-ran all unit tests and confirm passage

Expected behavior changes
No warnings generated when using `-Wall -Werror -std=c99 -pedantic -Wwrite-strings -Wstrict-prototypes'

System(s) tested on:
Ubuntu 18.04 (64-bit)

Contributor Info
Joseph Hickey, Vantage Systems, Inc.

Qualify all pointers referring to string literals as `const`
Eliminate unused local variables
Add missing local function prototypes.
@jphickey
Copy link
Contributor Author

Updated commit so it is based on the current master branch.

@skliper skliper added this to the 5.0.0 milestone Sep 19, 2019
@skliper skliper added the CCB:Approved Indicates code review and approval by community CCB label Oct 1, 2019
@skliper skliper changed the base branch from master to merge-20191001 October 1, 2019 19:12
@skliper skliper merged commit 5df61b6 into nasa:merge-20191001 Oct 1, 2019
@jphickey jphickey deleted the fix-15-ut-warnings branch December 9, 2019 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants