X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwrite.c;h=91954f9f023b66f6fd96f122bd117ab86e58e2f7;hb=efdb571bf22033727f0d15bb161614686e5bcf66;hp=c45d0b7fdd450c739a1bde7ac80c568e0a35c70e;hpb=34193844b60cf16bb0a04e344ddf47a0614a7643;p=wimlib diff --git a/src/write.c b/src/write.c index c45d0b7f..91954f9f 100644 --- a/src/write.c +++ b/src/write.c @@ -712,8 +712,7 @@ done_with_stream(struct wim_lookup_table_entry *stream, /* Begin processing a stream for writing. */ static int -write_stream_begin_read(struct wim_lookup_table_entry *lte, - u32 flags, void *_ctx) +write_stream_begin_read(struct wim_lookup_table_entry *lte, void *_ctx) { struct write_streams_ctx *ctx = _ctx; int ret; @@ -742,8 +741,6 @@ write_stream_begin_read(struct wim_lookup_table_entry *lte, ctx->stream_was_duplicate = false; if (ctx->lookup_table != NULL && lte->unhashed && !lte->unique_size) { - wimlib_assert(!(flags & BEGIN_STREAM_FLAG_PARTIAL_RESOURCE)); - struct wim_lookup_table_entry *lte_new; ret = hash_unhashed_stream(lte, ctx->lookup_table, <e_new);