summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2004-08-16 20:19:09 +0000
committerphilip <philip@FreeBSD.org>2004-08-16 20:19:09 +0000
commitef558fb7d6cdca8eade0944a97c6144ab75468b7 (patch)
tree8136580de22ef114c93495f9a52ec12237c22a05 /sys/isa
parentbfbe53ebedb66d7f471311e9bfec3162c0830799 (diff)
downloadFreeBSD-src-ef558fb7d6cdca8eade0944a97c6144ab75468b7.zip
FreeBSD-src-ef558fb7d6cdca8eade0944a97c6144ab75468b7.tar.gz
Don't initialize static variables to 0 (C should just take care of that).
Spotted by: njl
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/psm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/psm.c b/sys/isa/psm.c
index ce609a7..4d9ce50 100644
--- a/sys/isa/psm.c
+++ b/sys/isa/psm.c
@@ -2176,8 +2176,8 @@ psmsoftintr(void *arg)
MOUSE_BUTTON1DOWN,
MOUSE_BUTTON1DOWN | MOUSE_BUTTON3DOWN
};
- static int touchpad_buttons = 0;
- static int guest_buttons = 0;
+ static int touchpad_buttons;
+ static int guest_buttons;
register struct psm_softc *sc = arg;
mousestatus_t ms;
int w, x, y, z;
OpenPOWER on IntegriCloud