From da64f1730c480ca97c755009c27e20e7bfd56c16 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 14 Oct 2016 13:18:58 -0700 Subject: [PATCH] Move macro definition in deflate.c to where it is used. This avoid defining a macro that is never used when not debugging. --- deflate.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deflate.c b/deflate.c index f5a07316..cb130be4 100644 --- a/deflate.c +++ b/deflate.c @@ -148,9 +148,6 @@ local 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)) @@ -1345,6 +1342,10 @@ local uInt longest_match(s, cur_match) #endif /* FASTEST */ #ifdef ZLIB_DEBUG + +#define EQUAL 0 +/* result of memcmp for equal strings */ + /* =========================================================================== * Check that the match at match_start is indeed a match. */