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

Spotted by:	njl
This commit is contained in:
philip 2004-08-16 20:19:09 +00:00
parent bfbe53ebed
commit ef558fb7d6
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;