From: Lennart Poettering Date: Fri, 22 Jul 2011 23:18:20 +0000 (+0200) Subject: login: drop unused variables X-Git-Tag: v31~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5780425ea7f4b649852991bc515fa8ce71ee43dd;p=systemd login: drop unused variables --- 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;