From 699ab4e20a252c649339831e7c1b8a028d9fd8e8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 30 May 2020 23:11:31 +0100 Subject: chore(3p/nix): Clean up some unused defines --- third_party/nix/src/libutil/compression.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'third_party/nix/src/libutil') diff --git a/third_party/nix/src/libutil/compression.cc b/third_party/nix/src/libutil/compression.cc index a50076fcd550..779d326eb204 100644 --- a/third_party/nix/src/libutil/compression.cc +++ b/third_party/nix/src/libutil/compression.cc @@ -214,7 +214,6 @@ struct XzCompressionSink : CompressionSink { bool done = false; if (parallel) { -#ifdef HAVE_LZMA_MT lzma_mt mt_options = {}; mt_options.flags = 0; mt_options.timeout = 300; // Using the same setting as the xz cmd line @@ -230,10 +229,6 @@ struct XzCompressionSink : CompressionSink { // number of threads. ret = lzma_stream_encoder_mt(&strm, &mt_options); done = true; -#else - LOG(ERROR) << "parallel XZ compression requested but not supported, " - << "falling back to single-threaded compression"; -#endif } if (!done) { -- cgit 1.4.1