From 8366be3b517d70a72cbedebaa492b6d7b2d2aab8 Mon Sep 17 00:00:00 2001 From: teor Date: Sat, 2 Jun 2018 14:08:01 -0700 Subject: Silence unused-const-variable warnings in zstd.h on some gcc versions Fixes bug 26272; bugfix on 0.3.1.1-alpha. --- src/common/compress_zstd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/compress_zstd.c') diff --git a/src/common/compress_zstd.c b/src/common/compress_zstd.c index 63e92ed22d..11edfffa0e 100644 --- a/src/common/compress_zstd.c +++ b/src/common/compress_zstd.c @@ -19,7 +19,9 @@ #include "compress_zstd.h" #ifdef HAVE_ZSTD +DISABLE_GCC_WARNING(unused-const-variable) #include +ENABLE_GCC_WARNING(unused-const-variable) #endif /** Total number of bytes allocated for Zstandard state. */ -- cgit v1.2.3-54-g00ecf