Remove shadow warning from compiling
authorJonathan Maw <jonathan.maw@codethink.co.uk>
Mon, 18 Jun 2012 11:07:07 +0000 (12:07 +0100)
committerJonathan Maw <jonathan.maw@codethink.co.uk>
Mon, 18 Jun 2012 11:07:07 +0000 (12:07 +0100)
Removed because shadowing was caused by an automatically-generated file
(luc-handler-dbus.c), as generated with gdbus-codegen.
When using --enable-debug=yes in ./configure, compiling will fail on
warnings.

configure.ac

index 14f0d8f..13297c9 100644 (file)
@@ -110,7 +110,7 @@ if test x"$enable_debug" = x"yes"; then
             -Wno-unused-parameter -Wold-style-definition \
             -Wdeclaration-after-statement \
             -Wmissing-declarations \
-            -Wmissing-noreturn -Wshadow -Wpointer-arith \
+            -Wmissing-noreturn -Wpointer-arith \
             -Wcast-align -Wformat-security \
             -Winit-self -Wmissing-include-dirs -Wundef \
             -Wmissing-format-attribute -Wnested-externs \