Fix compilation when lzma or zstd is absent

This commit is contained in:
Nick Mathewson 2017-04-26 15:00:40 -04:00
parent 4038202f89
commit 7fb9586953
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.