From 0dfede2e7937586fff529916dc2ea0a93dc5b669 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Fri, 15 Jul 2016 15:26:20 -0700 Subject: [PATCH] configure: turn on all unused warnings by default Change-Id: I7f6cb446cd3ac57ac39835cf065d9501a66acd5b --- configure | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure b/configure index c1ad24bfb..2fe9ba1ca 100755 --- a/configure +++ b/configure @@ -577,7 +577,7 @@ process_toolchain() { 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 @@ process_toolchain() { # 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