From 4d42493a46a61df6f58b154a53af53884263ba64 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 28 Dec 2013 17:11:18 -0600 Subject: [PATCH] write_chunk(): Remove redundant statements --- src/write.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/write.c b/src/write.c index 3702585b..22b1c968 100644 --- a/src/write.c +++ b/src/write.c @@ -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. */ -- 2.43.0