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 some compiler warnings #4245

Merged
merged 5 commits into from
May 20, 2024
Merged

Fix some compiler warnings #4245

merged 5 commits into from
May 20, 2024

Commits on May 19, 2024

  1. Fix compiler warnings [-Wzero-as-null-pointer-constant]

    Signed-off-by: Stefan Weil <[email protected]>
    stweil committed May 19, 2024
    Configuration menu
    Copy the full SHA
    d35f6f7 View commit details
    Browse the repository at this point in the history
  2. Fix compiler warnings [-Wunreachable-code-return]

    Signed-off-by: Stefan Weil <[email protected]>
    stweil committed May 19, 2024
    Configuration menu
    Copy the full SHA
    e38bc38 View commit details
    Browse the repository at this point in the history
  3. Fix compiler warnings [-Wold-style-cast]

    Signed-off-by: Stefan Weil <[email protected]>
    stweil committed May 19, 2024
    Configuration menu
    Copy the full SHA
    4e01d58 View commit details
    Browse the repository at this point in the history
  4. Fix compiler warnings [-Wunused-but-set-variable]

    - Use conditional compilation for variables which might be useful for debugging.
    - Remove all other unused variables.
    
    Signed-off-by: Stefan Weil <[email protected]>
    stweil committed May 19, 2024
    Configuration menu
    Copy the full SHA
    1f1ee6b View commit details
    Browse the repository at this point in the history
  5. Avoid some float / double conversions in class Classify

    This also fixes several compiler warnings ([-Wimplicit-float-conversion],
    [-Wdouble-promotion]).
    
    Signed-off-by: Stefan Weil <[email protected]>
    stweil committed May 19, 2024
    Configuration menu
    Copy the full SHA
    48d78b7 View commit details
    Browse the repository at this point in the history