Fix "warning: the address of ‘newTypes’ will always evaluate as ‘true’".
This commit is contained in:
parent
2391c409a2
commit
5544c51447
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user