mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
misc: Clean up a pile of -Wunused-const-variable warnings
And re-enable the warning (applies to GCC 6+) Change-Id: I7aa679ec65707db12de83c0433966b3821d07087
This commit is contained in:
parent
c7eda36341
commit
9d4632b0c3
11 changed files with 29 additions and 17 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
|
@ -4609,7 +4609,7 @@ else
|
|||
if test "$gccnum" -ge "601"; then
|
||||
# gcc 6 adds a lot of warnings that while useful are too time-consuming
|
||||
# to clean up right away
|
||||
GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-unused-const-variable -Wno-nonnull-compare -Wno-tautological-compare"
|
||||
GCCOPTS="$GCCOPTS -Wno-shift-negative-value -Wno-nonnull-compare -Wno-tautological-compare"
|
||||
fi
|
||||
|
||||
if test "$gccnum" -ge "700"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue