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=87837
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Thiago Macieira 2014-12-29 16:51:28 -02:00 committed by Simon McVittie
parent 254b47aa68
commit 180f3a8061

View file

@ -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,