From: Yann Collet Date: Sat, 17 Jun 2017 01:16:27 +0000 (-0700) Subject: removed macro CLAMP from decodecorpus X-Git-Tag: v1.3.0~1^2~17^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd05b197132b9fb9f11f6e12bc55c02cd0658dec;p=thirdparty%2Fzstd.git removed macro CLAMP from decodecorpus never used, and would duplicate with CLAMP from zstd_compress.c --- diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index f7b3c854f..940e3d8a1 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -73,8 +73,6 @@ static clock_t clockSpan(clock_t cStart) /*-******************************************************* * Random function *********************************************************/ -#define CLAMP(x, a, b) ((x) < (a) ? (a) : ((x) > (b) ? (b) : (x))) - static unsigned RAND(unsigned* src) { #define RAND_rotl32(x,r) ((x << r) | (x >> (32 - r)))