Skip to content

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