symbols: remove comparison of unsigned >= 0

clang warning.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-08-27 09:37:01 +03:00
parent 3d305bd0cb
commit 2eba51c0f6
1 changed files with 1 additions and 1 deletions

View File

@ -1585,7 +1585,7 @@ FindAutomaticType(struct xkb_keymap *keymap, xkb_level_index_t width,
*typeNameRtrn = xkb_atom_intern(keymap->ctx, "FOUR_LEVEL"); *typeNameRtrn = xkb_atom_intern(keymap->ctx, "FOUR_LEVEL");
/* XXX: why not set autoType here? */ /* XXX: why not set autoType here? */
} }
return ((width >= 0) && (width <= 4)); return width <= 4;
} }
/** /**