summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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;