]> wimlib.net Git - wimlib/blobdiff - src/xml.c
Fix various issues
[wimlib] / src / xml.c
index 943fb8340020c801084ebda14d8b9c7a60838dd6..d7302e1b012794b9ffe09ab8e8f6aa6b30c97354 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -819,8 +819,6 @@ static int clone_windows_info(const struct windows_info *old,
 
 static int clone_image_info(const struct image_info *old, struct image_info *new)
 {
 
 static int clone_image_info(const struct image_info *old, struct image_info *new)
 {
-       int ret;
-
        new->dir_count              = old->dir_count;
        new->file_count             = old->file_count;
        new->total_bytes            = old->total_bytes;
        new->dir_count              = old->dir_count;
        new->file_count             = old->file_count;
        new->total_bytes            = old->total_bytes;
@@ -869,8 +867,6 @@ int xml_export_image(const struct wim_info *old_wim_info,
        struct wim_info *new_wim_info;
        struct image_info *image_info;
        int ret;
        struct wim_info *new_wim_info;
        struct image_info *image_info;
        int ret;
-       char *name;
-       char *desc;
 
        DEBUG("Copying XML data between WIM files for source image %d.", image);
 
 
        DEBUG("Copying XML data between WIM files for source image %d.", image);