diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-24 11:25:28 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-10-22 07:53:39 +1000 |
commit | c16f3ae484e4b0438d0fdf504c6344a7985cb1df (patch) | |
tree | 3027503fdc03453268962990cd10052b83a536e2 | |
parent | e644e322c78d83e445daa64dc3f2f596b2b64016 (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>
(cherry picked from commit e08d8a2b043e5be821c5e8b2dbf37b09102b5d01)
-rw-r--r-- | hw/kdrive/linux/tslib.c | 4 |
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) |