From: Richard Russon Date: Mon, 24 Oct 2016 18:22:37 +0000 (+0100) Subject: build: fix a couple of build warnings X-Git-Tag: neomutt-20161028~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e4490e740a3662f4199af68d2aea34e51f9ad9f;p=neomutt build: fix a couple of build warnings --- diff --git a/curs_lib.c b/curs_lib.c index e82995929..c5d279305 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -43,6 +43,9 @@ #ifdef HAVE_LANGINFO_YESEXPR #include #endif +#ifdef HAVE_ISWBLANK +#include +#endif #ifdef USE_NOTMUCH #include "mutt_notmuch.h" diff --git a/regex.c b/regex.c index 40979af74..00f65b83c 100644 --- a/regex.c +++ b/regex.c @@ -4821,6 +4821,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) actual values. Otherwise, we will restore only one register from the stack, since lowest will == highest in `pop_failure_point'. */ +#ifdef DEBUG active_reg_t dummy_low_reg, dummy_high_reg; unsigned char *pdummy; const char *sdummy; @@ -4829,6 +4830,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) POP_FAILURE_POINT (sdummy, pdummy, dummy_low_reg, dummy_high_reg, reg_dummy, reg_dummy, reg_info_dummy); +#endif } /* Note fall through. */