summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2011-01-17 23:04:50 -0500
committerJulien Cristau <jcristau@debian.org>2011-04-28 16:33:51 +0200
commit74af23f20662f06e34325fb29ac55e16547707b3 (patch)
treec59861caf9a13fffa50732a62b07f27a8449c2c8
parent95b89123904fd62e0e253ffd4ce3c4d8359d5ed6 (diff)
Address compiler warning.
When compiling gcc warns: 'rc' may be used uninitialized in this function which is plausible if none of the "if/else" cases are matched. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--src/xf86Aiptek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index f128fa0..d9a7665 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -1808,7 +1808,7 @@ xf86AiptekInit(InputDriverPtr drv,
InputInfoPtr pInfos;
char* s;
int shared;
- int rc;
+ int rc = BadValue;
aiptekDrv = drv;