From: Marcel Holtmann Date: Mon, 16 Jul 2012 13:12:05 +0000 (-0300) Subject: Revert "build: Use -Wshadow compiler option" X-Git-Tag: 1.4~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc98abda2a78879285c953d9091b444b04776ba9;p=platform%2Fupstream%2Fconnman.git Revert "build: Use -Wshadow compiler option" --- diff --git a/acinclude.m4 b/acinclude.m4 index ddb3b22..0a59871 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [ CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2" fi if (test "$USE_MAINTAINER_MODE" = "yes"); then - CFLAGS+=" -Werror -Wextra -Wshadow" + CFLAGS+=" -Werror -Wextra" CFLAGS+=" -Wno-unused-parameter" CFLAGS+=" -Wno-missing-field-initializers" CFLAGS+=" -Wdeclaration-after-statement"