diff options
author | Adam Jackson <ajax@redhat.com> | 2011-03-08 15:33:11 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-09 10:53:32 +1000 |
commit | 7b5e562ea74039832116ee13db910f290f074782 (patch) | |
tree | 2f0bf916e668f7c1e7689563e3816da61fd638fc /dix/eventconvert.c | |
parent | 33fee13361e745e1db29e250b08622c83046d488 (diff) |
input: warning fix
getevents.c:770:5: warning: suggest parentheses around '&&' within '||'
Introduced with dc57f89959e549403f8488eb9f23425bd7118b22:
- if(dev->u.master && dev->valuator) {
+ if(dev->valuator && IsMaster(dev) || !IsFloating(dev)) {
So I'm assuming the two terms around the || are meant to be a unit.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/eventconvert.c')
0 files changed, 0 insertions, 0 deletions