summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorUlf Brosziewski <bru@cvs.openbsd.org>2017-08-26 18:34:05 +0000
committerUlf Brosziewski <bru@cvs.openbsd.org>2017-08-26 18:34:05 +0000
commitb0d2cb309a31af1af8c584975ce4f2ea3c296abb (patch)
treecf14ca09a0756c7021ab0e481301a6e0f3e868a6 /sys/dev
parent31643b27652c00df77f0fc614879fe0977d4df2e (diff)
bug fix
Diffstat (limited to 'sys/dev')
-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);