From 0ec7c2567b7ea65089d0c17027453cd173fe3203 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 6 May 2018 15:25:28 +0000 Subject: Unused variables found by clang --- greeter/greet.c | 2 -- xenodm/auth.c | 1 - 2 files changed, 3 deletions(-) diff --git a/greeter/greet.c b/greeter/greet.c index f07656a..dfd0687 100644 --- a/greeter/greet.c +++ b/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/xenodm/auth.c b/xenodm/auth.c index 8a6af11..a5ca43e 100644 --- a/xenodm/auth.c +++ b/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"); -- cgit v1.2.3