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
(from parent 1:
39032b8
)
core: fix unused variable
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 11 Jan 2014 14:52:48 +0000
(09:52 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 11 Jan 2014 15:07:22 +0000
(10:07 -0500)
src/core/manager.c
patch
|
blob
|
history
diff --git
a/src/core/manager.c
b/src/core/manager.c
index 1eda2b1c5ddcd38ac775ebcb0ae8227a99747a68..a80d6a161ae58baf33a53066be254a934af3b7af 100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-530,11
+530,13
@@
static int manager_setup_notify(Manager *m) {
}
static int manager_setup_kdbus(Manager *m) {
+#ifdef ENABLE_KDBUS
_cleanup_free_ char *p = NULL;
+#endif
+#ifdef ENABLE_KDBUS
assert(m);
-#ifdef ENABLE_KDBUS
if (m->kdbus_fd >= 0)
return 0;