From: Eric Biggers Date: Sat, 28 Dec 2013 23:11:18 +0000 (-0600) Subject: write_chunk(): Remove redundant statements X-Git-Tag: v1.6.0~66 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=4d42493a46a61df6f58b154a53af53884263ba64 write_chunk(): Remove redundant statements --- 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. */