summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-05-06 15:25:28 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:39 +0200
commit0ec7c2567b7ea65089d0c17027453cd173fe3203 (patch)
treef3a1fbc58d38c660d441b7ab4cdb2a788313b550
parentf91d35bd00fce407b04187cab082c19e499139d7 (diff)
Unused variables found by clang
-rw-r--r--greeter/greet.c2
-rw-r--r--xenodm/auth.c1
2 files changed, 0 insertions, 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");