obtree_is_menu is used for debug-version.
--- orig/obtree.c 2010-01-04 23:31:11.000000000 +0100 +++ obtree.c 2010-01-09 21:21:14.578125000 +0100 @@ -2924,7 +2924,7 @@ } #endif -#if INCLUDE_UNUSED +#if GENERATE_DIAGS bool obtree_is_menu(OBJECT *tree) {