ref: c69cc4ce1f384827d0a0aef349b9c6396b07014f
parent: 3e04114f3d6d1bc746a376f375dc18c5a941e5aa
parent: 0dfede2e7937586fff529916dc2ea0a93dc5b669
author: James Bankoski <[email protected]>
date: Mon Jul 18 20:57:45 EDT 2016
Merge "configure: turn on all unused warnings by default"
--- a/configure
+++ b/configure
@@ -577,7 +577,7 @@
check_add_cflags -Wvla
check_add_cflags -Wimplicit-function-declaration
check_add_cflags -Wuninitialized
- check_add_cflags -Wunused-variable
+ check_add_cflags -Wunused
case ${CC} in
*clang*)
# libvpx and/or clang have issues with aliasing:
@@ -585,12 +585,9 @@
# work around them until they are fixed
check_add_cflags -fno-strict-aliasing
;;
- *) check_add_cflags -Wunused-but-set-variable ;;
esac
if enabled mips || [ -z "${INLINE}" ]; then
enabled extra_warnings || check_add_cflags -Wno-unused-function
- else
- check_add_cflags -Wunused-function
fi
fi