mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 11:08:03 +02:00
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:
parent
254b47aa68
commit
180f3a8061
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue