From a83a851935e5e15048cb1b8b458946604410ec7b Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 28 Sep 2003 20:28:18 +0200 Subject: Initialize the id variable in QueryIsSynaptics(), so that we don't print out garbage if the identification fails. --- ps2comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ps2comm.c') diff --git a/ps2comm.c b/ps2comm.c index ad91fcf..814ecaf 100644 --- a/ps2comm.c +++ b/ps2comm.c @@ -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++) { -- cgit v1.2.3