From 4953c651de3ae0298c87e4c09107bee7adebe8e4 Mon Sep 17 00:00:00 2001
From: Ulrich Sibiller <uli42@gmx.de>
Date: Thu, 9 Jan 2020 20:54:53 +0100
Subject: nxagent: build with -Wshadow to detect shadowing variables

---
 nx-X11/config/cf/xorgsite.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'nx-X11/config/cf/xorgsite.def')

diff --git a/nx-X11/config/cf/xorgsite.def b/nx-X11/config/cf/xorgsite.def
index 0ffe86056..5c5cf4431 100644
--- a/nx-X11/config/cf/xorgsite.def
+++ b/nx-X11/config/cf/xorgsite.def
@@ -113,7 +113,7 @@
  *
 #define GccWarningOptions -Wall -Wpedantic -Wpointer-arith -Wstrict-prototypes \
                           -Wmissing-prototypes -Wmissing-declarations \
-                          -Wredundant-decls -Wnested-externs
+                          -Wredundant-decls -Wnested-externs -Wshadow
  */
 
 /* 
-- 
cgit v1.2.3

