Use -Wshadow in cmake builds
authorJörg Mayer <jmayer@loplof.de>
Sun, 21 Apr 2013 08:16:07 +0000 (08:16 -0000)
committerJörg Mayer <jmayer@loplof.de>
Sun, 21 Apr 2013 08:16:07 +0000 (08:16 -0000)
svn path=/trunk/; revision=48949

CMakeLists.txt

index 37677327a40332fa65f63adc019453eef0d9ff43..2133c97ca5ecc7276a146395aaaa3f2a6def5708 100644 (file)
@@ -133,6 +133,7 @@ set(WIRESHARK_C_ONLY_FLAGS
        -Wdeclaration-after-statement
        -Wno-pointer-sign
        -Wold-style-definition
+       -Wshadow
 )
 
 set(WIRESHARK_EXTRA_C_FLAGS