Commit 180f3a80 authored by Thiago Macieira's avatar Thiago Macieira Committed by Simon McVittie

Fix build with --enable-maintainer-mode --disable-embedded-tests

Otherwise, we get:
dbus/dbus-object-tree.c:323:1: error: 'find_subtree' defined but not used [-Werror=unused-function]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=87837Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 254b47aa
......@@ -319,6 +319,7 @@ find_subtree_recurse (DBusObjectSubtree *subtree,
}
}
#ifdef DBUS_ENABLE_EMBEDDED_TESTS
static DBusObjectSubtree*
find_subtree (DBusObjectTree *tree,
const char **path,
......@@ -337,6 +338,7 @@ find_subtree (DBusObjectTree *tree,
else
return subtree;
}
#endif
static DBusObjectSubtree*
lookup_subtree (DBusObjectTree *tree,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment