From 5780425ea7f4b649852991bc515fa8ce71ee43dd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 23 Jul 2011 01:18:20 +0200 Subject: [PATCH] login: drop unused variables --- src/sd-login.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sd-login.c b/src/sd-login.c index b7ae870a..2c5b153f 100644 --- a/src/sd-login.c +++ b/src/sd-login.c @@ -327,7 +327,6 @@ _public_ int sd_session_is_active(const char *session) { _public_ int sd_session_get_uid(const char *session, uid_t *uid) { int r; char *p, *s = NULL; - unsigned long ul; if (!session) return -EINVAL; @@ -610,7 +609,6 @@ static inline sd_login_monitor* FD_TO_MONITOR(int fd) { } _public_ int sd_login_monitor_new(const char *category, sd_login_monitor **m) { - const char *path; int fd, k; bool good = false; -- 2.39.5