Don't initialize static variables to 0 (C should just take care of that).

Spotted by:	njl
This commit is contained in:
Philip Paeps 2004-08-16 20:19:09 +00:00
parent bbd57a04f1
commit 5459a0063b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133882
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;