summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-06-13 22:49:47 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-06-13 22:49:47 -0400
commit5544c51447f551dfc6df64438873a7ce64743976 (patch)
tree60a89e6aa7c829a8dd0c988fa0f99ea01b93a7f5 /xkb
parent2391c409a2840d61fed93832650c0d6c82ebebdf (diff)
Fix "warning: the address of ‘newTypes’ will always evaluate as ‘true’".
Diffstat (limited to 'xkb')
-rw-r--r--xkb/XKBMisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c
index 85415a4c9..eb5c38133 100644
--- a/xkb/XKBMisc.c
+++ b/xkb/XKBMisc.c
@@ -473,7 +473,7 @@ register int i;
int width,nOldGroups,oldWidth,newTypes[XkbNumKbdGroups];
if ((!xkb) || (!XkbKeycodeInRange(xkb,key)) || (!xkb->map) ||
- (!xkb->map->types)||(!newTypes)||((groups&XkbAllGroupsMask)==0)||
+ (!xkb->map->types)||((groups&XkbAllGroupsMask)==0)||
(nGroups>XkbNumKbdGroups)) {
return BadMatch;
}