]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed compilation with Visual Studio 2005
authorinikep <inikep@gmail.com>
Wed, 10 Aug 2016 12:30:10 +0000 (14:30 +0200)
committerinikep <inikep@gmail.com>
Wed, 10 Aug 2016 12:30:10 +0000 (14:30 +0200)
lib/decompress/zstd_decompress.c

index 958d63692847a4d38df714e9bd34826471739304..052ccd6017a838d99e5033ebe6f238b57e32d73b 100644 (file)
@@ -77,6 +77,7 @@
 #  include <intrin.h>                    /* For Visual 2005 */
 #  pragma warning(disable : 4127)        /* disable: C4127: conditional expression is constant */
 #  pragma warning(disable : 4324)        /* disable: C4324: padded structure */
+#  pragma warning(disable : 4100)        /* disable: C4100: unreferenced formal parameter */
 #else
 #  ifdef __GNUC__
 #    define FORCE_INLINE static inline __attribute__((always_inline))