chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b67834
)
login: drop unused variables
author
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Jul 2011 23:18:20 +0000
(
01:18
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Jul 2011 23:18:20 +0000
(
01:18
+0200)
src/sd-login.c
patch
|
blob
|
history
diff --git
a/src/sd-login.c
b/src/sd-login.c
index b7ae870af4d7577882a88441ac2412aeb9c10557..2c5b153fba7eb5fc012c754d3bb0dbfc120606bf 100644
(file)
--- 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;