summaryrefslogtreecommitdiff
path: root/symbols.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:18:43 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:18:43 -0800
commit5fd14db5b2cc0c2c43f7a1ddefd6f9991eb1dcc2 (patch)
tree1d2a67f90c803a6b07b4b516c8703dab09914a5e /symbols.c
parent6099655a4bbe1fd3e26b8afd2b91888ad2766086 (diff)
Silence -Wparentheses-equality
warning: equality comparison with extraneous parentheses [-Wparentheses-equality] Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'symbols.c')
-rw-r--r--symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbols.c b/symbols.c
index cac69e3..625fe96 100644
--- a/symbols.c
+++ b/symbols.c
@@ -1714,7 +1714,7 @@ FindKeyForSymbol(XkbDescPtr xkb, KeySym sym, unsigned int *kc_rtrn)
if (j < (int) XkbKeyNumSyms(xkb, i))
{
gotOne = True;
- if ((XkbKeySym(xkb, i, j) == sym))
+ if (XkbKeySym(xkb, i, j) == sym)
{
*kc_rtrn = i;
return True;