diff options
author | 2020-03-22 16:39:51 +0000 | |
---|---|---|
committer | 2020-03-22 16:39:51 +0000 | |
commit | 04619ff17d36a50ba65a1710354f35c2c1bd0ff7 (patch) | |
tree | 7af4fa2a0d6fdf9e764c548d0d34d6e98af42f68 | |
parent | Add 'ikectl show sa' command to print information about the state of (diff) | |
download | wireguard-openbsd-04619ff17d36a50ba65a1710354f35c2c1bd0ff7.tar.xz wireguard-openbsd-04619ff17d36a50ba65a1710354f35c2c1bd0ff7.zip |
Mark omissions of break statements as intentional.
CID 1453207 (Missing break in switch)
-rw-r--r-- | sys/dev/wscons/wsmouse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsmouse.c b/sys/dev/wscons/wsmouse.c index 5140f34bd3f..c62f5abbec6 100644 --- a/sys/dev/wscons/wsmouse.c +++ b/sys/dev/wscons/wsmouse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmouse.c,v 1.59 2020/03/22 07:59:59 anton Exp $ */ +/* $OpenBSD: wsmouse.c,v 1.60 2020/03/22 16:39:51 bru Exp $ */ /* $NetBSD: wsmouse.c,v 1.35 2005/02/27 00:27:52 perry Exp $ */ /* @@ -770,7 +770,7 @@ wsmouse_set(struct device *sc, enum wsmouseval type, int value, int aux) wsmouse_position(sc, value, input->motion.pos.y); return; case WSMOUSE_REL_Y: - value += input->motion.pos.y; + value += input->motion.pos.y; /* fall through */ case WSMOUSE_ABS_Y: wsmouse_position(sc, input->motion.pos.x, value); return; @@ -796,7 +796,7 @@ wsmouse_set(struct device *sc, enum wsmouseval type, int value, int aux) wsmouse_mtstate(sc, aux, value, mts->pos.y, mts->pressure); return; case WSMOUSE_MT_REL_Y: - value += mts->pos.y; + value += mts->pos.y; /* fall through */ case WSMOUSE_MT_ABS_Y: wsmouse_mtstate(sc, aux, mts->pos.x, value, mts->pressure); return; |