From: Kevin McCarthy Date: Tue, 28 May 2019 16:38:38 +0000 (-0700) Subject: Remove EXTRACT_MACROS check from EXTRACT_NUMBER in regex. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79dd54c443a413f2ece9bb09b773db6365b601b2;p=mutt Remove EXTRACT_MACROS check from EXTRACT_NUMBER in regex. Commit 367b1135 converted EXTRACT_NUMBER to always call a function, to enable the use of parameter types and local variables. In doing this it removed the separate DEBUG implementation. The EXTRACT_MACROS check was accidentally left in, but no longer makes sense outside of the DEBUG. --- diff --git a/regex.c b/regex.c index f6bc8fbf..75895aa2 100644 --- a/regex.c +++ b/regex.c @@ -555,10 +555,7 @@ extract_number (dest, source) *dest = b1 | (b2 << 8) | mask; } -#ifndef EXTRACT_MACROS /* To debug the macros. */ -#undef EXTRACT_NUMBER #define EXTRACT_NUMBER(dest, src) extract_number ((unsigned int *)&dest, src) -#endif /* not EXTRACT_MACROS */ /* Same as EXTRACT_NUMBER, except increment SOURCE to after the number. SOURCE must be an lvalue. */