Skip to content

Commit

Permalink
Disable -Wunused-but-set-variable compiler warning flag.
Browse files Browse the repository at this point in the history
This warning is triggered in `av_test.c`, where we have an open issue.
Silencing the warning locally would make the issue less visible. This
way, we will see the warning when we start removing the `-Wno-*` flags.
  • Loading branch information
iphydf committed Nov 11, 2016
1 parent fe1fea8 commit 54287a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ if(WARNINGS)
add_cflag("-Wno-shadow")
add_cflag("-Wno-shorten-64-to-32")
add_cflag("-Wno-unreachable-code-return")
add_cflag("-Wno-unused-but-set-variable")
add_cflag("-Wno-used-but-marked-unused")

# Disable specific warning flags for C++.
Expand Down

0 comments on commit 54287a6

Please sign in to comment.