Skip to content

Commit

Permalink
change -Wno-maybe-uninitialized to -Wno-uninitialized
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Turner <[email protected]>
  • Loading branch information
spacey-sooty committed Jan 1, 2025
1 parent 08e8659 commit e031729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/fix_compile_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def main():
# Filter out -isystem flags that cause false positives
iter_args = iter(obj["arguments"])
for arg in iter_args:
if arg == "-Wno-maybe-uninitialized":
out_arg += "-Wno-uninitialized"
if arg == "-isystem":
next_arg = next(iter_args)

Expand Down

0 comments on commit e031729

Please sign in to comment.