aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-12 08:18:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-12 08:18:56 -0400
commit5d8a927aa35c01c59dcf137827db27b92d034498 (patch)
treee32fd42a264ba661cc500127994764a7c2e040ba /src/common
parent74ac463e7fb806e5abf48be788daf03c40e930ad (diff)
parentd84581a3e677a6905125b619c590488c12a36ae8 (diff)
downloadtor-5d8a927aa35c01c59dcf137827db27b92d034498.tar.gz
tor-5d8a927aa35c01c59dcf137827db27b92d034498.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat (limited to 'src/common')
-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 c1cdaf17ad..baa7749f0a 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. */