summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sd-login.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sd-login.c b/src/sd-login.c
index b7ae870af4..2c5b153fba 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;