From: Mark Adler Date: Fri, 14 Oct 2016 20:18:58 +0000 (-0700) Subject: Move macro definition in deflate.c to where it is used. X-Git-Tag: 1.9.9-b1~736 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95b6c46ad38abc2bd294dfe8256470382e149b11;p=thirdparty%2Fzlib-ng.git Move macro definition in deflate.c to where it is used. This avoid defining a macro that is never used when not debugging. --- diff --git a/deflate.c b/deflate.c index c9a220bee..9e8db2d86 100644 --- a/deflate.c +++ b/deflate.c @@ -139,9 +139,6 @@ static const config configuration_table[10] = { * meaning. */ -#define EQUAL 0 -/* result of memcmp for equal strings */ - /* rank Z_BLOCK between Z_NO_FLUSH and Z_PARTIAL_FLUSH */ #define RANK(f) (((f) * 2) - ((f) > 4 ? 9 : 0)) @@ -1018,6 +1015,9 @@ static void lm_init(deflate_state *s) { } #ifdef DEBUG +#define EQUAL 0 +/* result of memcmp for equal strings */ + /* =========================================================================== * Check that the match at match_start is indeed a match. */