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 e08d8a2b04
)
This commit is contained in:
parent
e644e322c7
commit
c16f3ae484
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue