summaryrefslogtreecommitdiff
path: root/xenodm
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-06 12:41:25 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:35 +0200
commit17846f03629d7e2be9319a6126564c026df5167d (patch)
treea01cbdc873b9aa43221ce1d4ee467cbed18e38d9 /xenodm
parent8b608fe8da3e6ec6cd4b90c5c58a739bb3713e1e (diff)
GreetUser() doen't need to return the X display pointer.
Diffstat (limited to 'xenodm')
-rw-r--r--xenodm/session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xenodm/session.c b/xenodm/session.c
index 741e052..905d4b9 100644
--- a/xenodm/session.c
+++ b/xenodm/session.c
@@ -147,7 +147,6 @@ __dead void
ManageSession (struct display *d)
{
pid_t pid = 0;
- Display *dpy;
greet_user_rtn greet_stat;
Debug ("ManageSession %s\n", d->name);
@@ -159,7 +158,7 @@ ManageSession (struct display *d)
if (d->autoLogin == NULL || d->autoLogin[0] == '\0') {
/* Load system default Resources */
LoadXloginResources (d);
- greet_stat = GreetUser(d, &dpy, &verify, &greet);
+ greet_stat = GreetUser(d, &verify, &greet);
} else
greet_stat = AutoLogin(d, &verify, &greet);