Skip to content

Commit

Permalink
wmt: quiet gcc -Wparentheses
Browse files Browse the repository at this point in the history
Reviewed by:	wulf
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D27767
  • Loading branch information
rlibby committed Dec 24, 2020
1 parent 2fb4a03 commit 322a188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/usb/input/wmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 322a188

Please sign in to comment.