From 7fb9586953580fc9b00fe1a3bf07ef9a805a8c06 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 26 Apr 2017 15:00:40 -0400 Subject: Fix compilation when lzma or zstd is absent --- src/common/compress_lzma.c | 2 +- src/common/compress_zstd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/compress_lzma.c b/src/common/compress_lzma.c index af1ba7ec11..b721bae8aa 100644 --- a/src/common/compress_lzma.c +++ b/src/common/compress_lzma.c @@ -211,7 +211,7 @@ tor_lzma_compress_new(int compress, #else // HAVE_LZMA. (void)compress; (void)method; - (void)compression_level; + (void)level; return NULL; #endif // HAVE_LZMA. diff --git a/src/common/compress_zstd.c b/src/common/compress_zstd.c index 40b541247b..9c134fdf4e 100644 --- a/src/common/compress_zstd.c +++ b/src/common/compress_zstd.c @@ -237,7 +237,7 @@ tor_zstd_compress_new(int compress, #else // HAVE_ZSTD. (void)compress; (void)method; - (void)compression_level; + (void)level; return NULL; #endif // HAVE_ZSTD. -- cgit v1.2.3-54-g00ecf