]> wimlib.net Git - wimlib/blobdiff - src/metadata_resource.c
Windows: improved error messages
[wimlib] / src / metadata_resource.c
index 7c97b3dfe179daa6b0d9b09a422a00afe444b722..54ea91532e6bcc5336f1ccac404d63f5435ca2bc 100644 (file)
@@ -23,6 +23,7 @@
 #  include "config.h"
 #endif
 
+#include "wimlib/assert.h"
 #include "wimlib/dentry.h"
 #include "wimlib/error.h"
 #include "wimlib/lookup_table.h"
@@ -34,9 +35,6 @@
 /*
  * Reads and parses a metadata resource for an image in the WIM file.
  *
- * @wim:
- *     Pointer to the WIMStruct for the WIM file.
- *
  * @imd:
  *     Pointer to the image metadata structure for the image whose metadata
  *     resource we are reading.  Its `metadata_lte' member specifies the lookup
@@ -52,7 +50,7 @@
  *     WIMLIB_ERR_DECOMPRESSION
  */
 int
-read_metadata_resource(WIMStruct *wim, struct wim_image_metadata *imd)
+read_metadata_resource(struct wim_image_metadata *imd)
 {
        const struct wim_lookup_table_entry *metadata_lte;
        void *buf;