1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

login: drop unused variables

This commit is contained in:
Lennart Poettering 2011-07-23 01:18:20 +02:00
parent 4b67834e9f
commit 5780425ea7

View File

@ -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;