Don't initialize static variables to 0 (C should just take care of that).
Spotted by: njl
This commit is contained in:
parent
bbd57a04f1
commit
5459a0063b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133882
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user