summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-23 01:18:20 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-23 01:18:20 +0200
commit5780425ea7f4b649852991bc515fa8ce71ee43dd (patch)
tree4a88c7e9a1a602cb32fd3276946b3d80a9ed1b26
parent4b67834e9f8a336dbc917f3bf212550e61cc98b4 (diff)
login: drop unused variables
-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;