summaryrefslogtreecommitdiff
path: root/src/core/manager.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-11 09:52:48 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-11 10:07:22 -0500
commit5bf348d77ec35260e2c021ad11d08dca7b92498d (patch)
tree1693f5dc394ad927c5a5f31b31b1237626460d8c /src/core/manager.c
parent39032b87779323a244dd89f4832949d462b2ac68 (diff)
core: fix unused variable
Diffstat (limited to 'src/core/manager.c')
-rw-r--r--src/core/manager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 1eda2b1c5d..a80d6a161a 100644
--- 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;