Only user was inside a an #ifdef DEBUG / #endif block. Introduced with -context in commit v4.5.5-42-g1a05af6a.
* find/parser.c (parse_context): Remove #ifdef/#endif block. * find/defs.h (find_pred_name): Remove declaration. --- find/defs.h | 5 ----- find/parser.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/find/defs.h b/find/defs.h index aa98d7ac..80a22a5f 100644 --- a/find/defs.h +++ b/find/defs.h @@ -462,11 +462,6 @@ PREDICATEFUNCTION pred_context; bool pred_quit (const char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) _GL_ATTRIBUTE_NORETURN; - - -char *find_pred_name (PRED_FUNC pred_func); - - void print_predicate (FILE *fp, const struct predicate *p); void print_tree (FILE*, struct predicate *node, int indent); void print_list (FILE*, struct predicate *node); diff --git a/find/parser.c b/find/parser.c index d2850c64..5f447933 100644 --- a/find/parser.c +++ b/find/parser.c @@ -2487,9 +2487,6 @@ parse_context (const struct parser_table* entry, char **argv, int *arg_ptr) our_pred = insert_primary (entry, NULL); our_pred->est_success_rate = 0.01f; our_pred->need_stat = false; -#ifdef DEBUG - our_pred->p_name = find_pred_name (pred_context); -#endif /*DEBUG*/ our_pred->args.scontext = argv[*arg_ptr]; (*arg_ptr)++; -- 2.48.1