]> wimlib.net Git - wimlib/blobdiff - src/write.c
Remove begin_stream callback flags
[wimlib] / src / write.c
index c45d0b7fdd450c739a1bde7ac80c568e0a35c70e..91954f9f023b66f6fd96f122bd117ab86e58e2f7 100644 (file)
@@ -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, &lte_new);