summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-24 11:25:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-10-20 13:32:05 +1000
commite08d8a2b043e5be821c5e8b2dbf37b09102b5d01 (patch)
tree5cfd6514a83fe9b3dc1fef70d0c41a4dd20bab6f
parent522ca8179ad2b2b935993f08c9382cd5ad1d8b2f (diff)
kdrive: silence tslib compiler warnings
tslib.c: In function 'TslibInit': tslib.c:157: warning: unused variable 'tsDev' tslib.c:156: warning: unused variable 'inputent' tslib.c:155: warning: unused variable 'inputdir' tslib.c:154: warning: unused variable 'i' tslib.c:154: warning: unused variable 'fd' Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--hw/kdrive/linux/tslib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/kdrive/linux/tslib.c b/hw/kdrive/linux/tslib.c
index 59011b0e3..7cc23e637 100644
--- a/hw/kdrive/linux/tslib.c
+++ b/hw/kdrive/linux/tslib.c
@@ -151,10 +151,6 @@ TslibDisable (KdPointerInfo *pi)
static Status
TslibInit (KdPointerInfo *pi)
{
- int fd = 0, i = 0;
- DIR *inputdir = NULL;
- struct dirent *inputent = NULL;
- struct tsdev *tsDev = NULL;
struct TslibPrivate *private = NULL;
if (!pi || !pi->dixdev)