about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libutil/compression.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc
index 723b072af968..8cb1dde662f4 100644
--- a/src/libutil/compression.cc
+++ b/src/libutil/compression.cc
@@ -146,7 +146,6 @@ struct XzSink : CompressionSink
 
     ~XzSink()
     {
-        assert(finished);
         lzma_end(&strm);
     }
 
@@ -217,7 +216,6 @@ struct BzipSink : CompressionSink
 
     ~BzipSink()
     {
-        assert(finished);
         BZ2_bzCompressEnd(&strm);
     }