From 537654d79d4d8c9de779c551004339c6f05f1426 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 6 May 2018 15:25:27 +0000 Subject: [PATCH] Unused variables found by clang --- app/xenodm/greeter/greet.c | 2 -- app/xenodm/xenodm/auth.c | 1 - 2 files changed, 3 deletions(-) diff --git a/app/xenodm/greeter/greet.c b/app/xenodm/greeter/greet.c index f07656aff..dfd0687fc 100644 --- a/app/xenodm/greeter/greet.c +++ b/app/xenodm/greeter/greet.c @@ -298,7 +298,6 @@ greet_user_rtn GreetUser( struct verify_info *verify, struct greet_info *greet) { - int i; Arg arglist[2]; Display *dpy; @@ -363,7 +362,6 @@ greet_user_rtn AutoLogin( struct verify_info *verify, struct greet_info *greet) { - int i; if (!autoLoginEnv(d, verify, greet)) { LogError("Autologin %s failed\n", d->autoLogin); diff --git a/app/xenodm/xenodm/auth.c b/app/xenodm/xenodm/auth.c index 8a6af1163..a5ca43ec8 100644 --- a/app/xenodm/xenodm/auth.c +++ b/app/xenodm/xenodm/auth.c @@ -769,7 +769,6 @@ SetUserAuthorization (struct display *d, struct verify_info *verify) struct stat statb; int i; int magicCookie; - int data_len; int fd; Debug ("SetUserAuthorization\n");