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 various compiler warnings #488

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Commits on Sep 30, 2024

  1. Build with -Wno-format-y2k

    As suggested in strftime() manpage
    bluca committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0334d21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb17092 View commit details
    Browse the repository at this point in the history
  3. Fix unused-label warning

    bluca committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e247bcb View commit details
    Browse the repository at this point in the history
  4. Fix unused-variable warning

    bluca committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9f63994 View commit details
    Browse the repository at this point in the history
  5. Disable declaration-after-statement compiler warnings

    We build with -std=c99 but for some reason these c90 warnings
    still appear, ignore them
    bluca committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    cd89bd2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    850304d View commit details
    Browse the repository at this point in the history
  7. Fix function annotation

    polkitimplicitauthorization.h:61: Warning: Polkit: out annotation takes at most one option, 2 given
    bluca committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    218163f View commit details
    Browse the repository at this point in the history
  8. Cast away 'volatile' when passing variable to g_once_init_enter()

    warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier
    bluca committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    89ec897 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3f79f3e View commit details
    Browse the repository at this point in the history