]> wimlib.net Git - wimlib/blobdiff - src/write.c
write_chunk(): Remove redundant statements
[wimlib] / src / write.c
index 3702585bf3e9b6992a009470aa44d1dbbcadc09c..22b1c9682c08e2509d072e907fa8abc0c6e522d2 100644 (file)
@@ -804,10 +804,6 @@ write_chunk(struct write_streams_ctx *ctx, const void *cchunk,
        if (ctx->cur_write_res_offset == ctx->cur_write_res_size &&
            !(ctx->write_resource_flags & WRITE_RESOURCE_FLAG_PACK_STREAMS))
        {
-               struct wim_lookup_table_entry *lte;
-
-               lte = list_entry(ctx->pending_streams.next,
-                                struct wim_lookup_table_entry, write_streams_list);
                wimlib_assert(ctx->cur_write_res_offset == lte->size);
 
                /* Finished writing a stream in non-packed mode.  */