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 #1199, correct warnings on gcc11 #1203

Merged
merged 1 commit into from
Jan 21, 2022

Commits on Jan 10, 2022

  1. Fix nasa#1199, correct warnings on gcc11

    These new warnings are detected by the new compiler. They are all places
    in unit test where an uninitialized value is passed via "const" pointer
    into a unit under test.  By definition a "const" pointer is always an
    input.
    
    While the warning is pedantically true - should not pass an uninitialized
    struct as an input - these were all unit tests where the object value
    is a don't-care value, so it does not matter.  But to fix the warning,
    simply need to initialize a value before making the call.
    jphickey committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    e51cbe3 View commit details
    Browse the repository at this point in the history