summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-03-16 22:19:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-03-16 22:19:40 (GMT)
commit82e69228dbb965d9dea357f15ec44f3c7ddf905c (patch)
tree3bdb4598f1c0291e81b6ad3495294e543651f413 /unix/tkUnixKey.c
parenteb2bc88bb4416810f0b701afb5fd9a50fd3900ad (diff)
downloadtk-82e69228dbb965d9dea357f15ec44f3c7ddf905c.zip
tk-82e69228dbb965d9dea357f15ec44f3c7ddf905c.tar.gz
tk-82e69228dbb965d9dea357f15ec44f3c7ddf905c.tar.bz2
stifle compiler warnings
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index d7ef141..c978294 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -453,10 +453,6 @@ TkpInitKeymapInfo(
}
keysym = XkbKeycodeToKeysym(dispPtr->display, *codePtr, 0, 0);
-#ifdef __GNUC__
-# pragma GCC diagnostic pop
-#endif
-
if (keysym == XK_Mode_switch) {
dispPtr->modeModMask |= ShiftMask << (i/modMapPtr->max_keypermod);
}