diff options
author | Adam Jackson <ajax@redhat.com> | 2016-04-08 11:24:50 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-04-29 11:19:58 -0400 |
commit | a5dd7b890f4f3a5245639591c73303c5a087b38a (patch) | |
tree | de5f14cdb68b3bca619aa5670dcd01c7175608f8 /xkb | |
parent | 23dfa017298ceceac818f83779858e490c7757b6 (diff) |
dix: Squash some new gcc6 warnings
-Wlogical-op now tells us:
devices.c:1685:23: warning: logical ‘and’ of equal expressions
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/xkbEvents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 0dbbd6cbc..0bbd66186 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -505,7 +505,7 @@ XkbHandleBell(BOOL force, if ((!interest) || (force)) return; - if ((class == 0) || (class == KbdFeedbackClass)) { + if (class == KbdFeedbackClass) { KeybdCtrl *pKeyCtrl = (KeybdCtrl *) pCtrl; id = pKeyCtrl->id; |