about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/compression.cc
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-30T22·11+0100
committerVincent Ambo <tazjin@google.com>2020-05-30T22·17+0100
commit699ab4e20a252c649339831e7c1b8a028d9fd8e8 (patch)
treebb763cf0c51e9fe295c3fd1be56ef8c925ca2902 /third_party/nix/src/libutil/compression.cc
parent91ddc7603d2fa2b59299375adc8a245558a9e811 (diff)
chore(3p/nix): Clean up some unused defines r/872
Diffstat (limited to 'third_party/nix/src/libutil/compression.cc')
-rw-r--r--third_party/nix/src/libutil/compression.cc5
1 files changed, 0 insertions, 5 deletions
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) {