소스 검색

Merge branch 'maint-0.3.3'

Nick Mathewson 6 년 전
부모
커밋
6230dfaf14
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      changes/bug26272
  2. 2 0
      src/common/compress_zstd.c

+ 3 - 0
changes/bug26272

@@ -0,0 +1,3 @@
+  o Minor bugfixes (compilation):
+    - Silence unused-const-variable warnings in zstd.h on some gcc versions.
+      Fixes bug 26272; bugfix on 0.3.1.1-alpha.

+ 2 - 0
src/common/compress_zstd.c

@@ -26,7 +26,9 @@
 #endif
 
 #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. */