From 6fb713358b0ccb66dc5a61f99530be7e145a85b4 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 4 Jul 2022 14:29:35 -0700 Subject: silence a useless MSVC warning --- lib/lz4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/lz4.c b/lib/lz4.c index 7f4f175..7374f6e 100644 --- a/lib/lz4.c +++ b/lib/lz4.c @@ -124,6 +124,7 @@ #if defined(_MSC_VER) && (_MSC_VER >= 1400) /* Visual Studio 2005+ */ # include /* only present in VS2005+ */ # pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */ +# pragma warning(disable : 6237) /* disable: C6237: conditional expression is always 0 */ #endif /* _MSC_VER */ #ifndef LZ4_FORCE_INLINE -- cgit v0.12