From 2949f4b38cc7ecc14dfca32cbb719e43e95aa940 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 22 Jan 2016 08:28:37 +0200 Subject: Fix some Linux Mint compilation warnings and braino errors. --- regexec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'regexec.c') diff --git a/regexec.c b/regexec.c index 8fe016af..74f1a5b7 100644 --- a/regexec.c +++ b/regexec.c @@ -55,8 +55,7 @@ static int re_search_stub (struct re_pattern_buffer *bufp, int ret_len) internal_function; static unsigned re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, int nregs, int regs_allocated) internal_function; -static reg_errcode_t prune_impossible_nodes (re_match_context_t *mctx) - internal_function; +static reg_errcode_t prune_impossible_nodes (re_match_context_t *mctx); static int check_matching (re_match_context_t *mctx, int fl_longest_match, int *p_match_first) internal_function; static int check_halt_state_context (const re_match_context_t *mctx, @@ -963,7 +962,6 @@ re_search_internal (preg, string, length, start, range, stop, nmatch, pmatch, } static reg_errcode_t -__attribute_warn_unused_result__ prune_impossible_nodes (re_match_context_t *mctx) { const re_dfa_t *const dfa = mctx->dfa; -- cgit v1.2.3