Remove unused 'wim' argument to read_metadata_resource()
[wimlib] / src / wim.c
index 7b1347dd93379ccc29726ad57d9d4c7f8a3fa689..8422d9e10b3d5b9dec5442317106b84f48930a75 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -355,7 +355,7 @@ select_wim_image(WIMStruct *wim, int image)
        if (imd->root_dentry || imd->modified) {
                ret = 0;
        } else {
-               ret = read_metadata_resource(wim, imd);
+               ret = read_metadata_resource(imd);
                if (ret)
                        wim->current_image = WIMLIB_NO_IMAGE;
        }