summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbru <bru@openbsd.org>2017-08-26 18:34:04 +0000
committerbru <bru@openbsd.org>2017-08-26 18:34:04 +0000
commitceee28bc56c35498805eb5a40f08460c65b3c57e (patch)
treed9329edd3d4558ddaeec778ba1e8dac2f3b7cf0e
parentFor exceptional cases of mathematical formulae that can't reasonably (diff)
downloadwireguard-openbsd-ceee28bc56c35498805eb5a40f08460c65b3c57e.tar.xz
wireguard-openbsd-ceee28bc56c35498805eb5a40f08460c65b3c57e.zip
bug fix
-rw-r--r--sys/dev/pckbc/pms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c
index 3fa7ed354fe..11052e4bf99 100644
--- a/sys/dev/pckbc/pms.c
+++ b/sys/dev/pckbc/pms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pms.c,v 1.79 2017/08/25 19:44:21 bru Exp $ */
+/* $OpenBSD: pms.c,v 1.80 2017/08/26 18:34:04 bru Exp $ */
/* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -906,7 +906,7 @@ synaptics_get_hwinfo(struct pms_softc *sc)
{
struct synaptics_softc *syn = sc->synaptics;
struct wsmousehw *hw;
- int resolution, max_coords, min_coords;
+ int resolution = 0, max_coords = 0, min_coords = 0;
hw = wsmouse_get_hw(sc->sc_wsmousedev);