aboutsummaryrefslogtreecommitdiff
path: root/src/common/compress_zstd.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-12 08:18:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-12 08:18:53 -0400
commitd84581a3e677a6905125b619c590488c12a36ae8 (patch)
tree7b0c46701779a8bb29200cc990772acb66d780ad /src/common/compress_zstd.c
parent19f386852333a6de5fbf9bcb3a4415b3bb135b4d (diff)
parent8366be3b517d70a72cbedebaa492b6d7b2d2aab8 (diff)
downloadtor-d84581a3e677a6905125b619c590488c12a36ae8.tar.gz
tor-d84581a3e677a6905125b619c590488c12a36ae8.zip
Merge remote-tracking branch 'teor/bug26272-031' into maint-0.3.1
Diffstat (limited to 'src/common/compress_zstd.c')
-rw-r--r--src/common/compress_zstd.c2
1 files changed, 2 insertions, 0 deletions
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 <zstd.h>
+ENABLE_GCC_WARNING(unused-const-variable)
#endif
/** Total number of bytes allocated for Zstandard state. */