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