wmt: quiet gcc -Wparentheses
Reviewed by: wulf Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27767
This commit is contained in:
parent
2fb4a03d55
commit
322a188d45
@ -635,7 +635,7 @@ wmt_process_report(struct wmt_softc *sc, uint8_t *buf, int len)
|
||||
left_btn = hid_get_data(buf, len, &sc->btn_loc[0]);
|
||||
if (sc->has_int_button || isset(sc->buttons, 0))
|
||||
evdev_push_key(sc->evdev, BTN_LEFT,
|
||||
int_btn != 0 | left_btn != 0);
|
||||
(int_btn != 0) | (left_btn != 0));
|
||||
for (btn = 1; btn < sc->max_button; ++btn) {
|
||||
if (isset(sc->buttons, btn))
|
||||
evdev_push_key(sc->evdev, BTN_MOUSE + btn,
|
||||
|
Loading…
Reference in New Issue
Block a user