diff options
author | Peter Osterlund <petero2@telia.com> | 2003-09-28 20:28:18 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:14 +0200 |
commit | a83a851935e5e15048cb1b8b458946604410ec7b (patch) | |
tree | c718fd4151b39563c78e3c8b489bb0d36808fc63 /ps2comm.c | |
parent | 387932425d6fe3967233d5e0c0d61fcc086287e1 (diff) |
Initialize the id variable in QueryIsSynaptics(), so that we
don't print out garbage if the identification fails.
Diffstat (limited to 'ps2comm.c')
-rw-r--r-- | ps2comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ SynapticsDisableDevice(int fd) Bool QueryIsSynaptics(int fd) { - unsigned long id; + unsigned long id = 0; int i; for (i = 0; i < 3; i++) { |