X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fupdate_image.c;h=15458a12b51593984d00637d701abad8d13fe377;hp=66e5ed8d4157a3c23300cbcbafb043324060c71f;hb=52c44c6a506cdfae17fd5fd5c6611622d342c128;hpb=ae7d142ac04cf51ba134750f3338f43af285a433 diff --git a/src/update_image.c b/src/update_image.c index 66e5ed8d..15458a12 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -64,7 +64,6 @@ #include "wimlib/metadata.h" #include "wimlib/paths.h" #include "wimlib/progress.h" -#include "wimlib/xml.h" /* Saved specification of a "primitive" update operation that was performed. */ struct update_primitive { @@ -1435,11 +1434,6 @@ wimlib_update_image(WIMStruct *wim, mark_image_dirty(imd); - /* Statistics about the WIM image, such as the numbers of files and - * directories, may have changed. Call xml_update_image_info() to - * recalculate these statistics. */ - xml_update_image_info(wim, image); - for (size_t i = 0; i < num_cmds; i++) if (cmds_copy[i].op == WIMLIB_UPDATE_OP_ADD && cmds_copy[i].add.add_flags & WIMLIB_ADD_FLAG_RPFIX)