Remove unused 'wim' argument to read_metadata_resource()
[wimlib] / src / extract.c
index b0df25d0719245c3dbab0d3580ea524019a607cb..39899c4094e2c5eb80b296bc93d6e09161123de0 100644 (file)
@@ -2017,7 +2017,7 @@ wimlib_extract_image_from_pipe_with_progress(int pipe_fd,
                if (i == image) {
                        /* Metadata resource is for the image being extracted.
                         * Parse it and save the metadata in memory.  */
-                       ret = read_metadata_resource(pwm, imd);
+                       ret = read_metadata_resource(imd);
                        if (ret)
                                goto out_wimlib_free;
                        imd->modified = 1;