- wimlib_assert(old_lookup_table_end <= new_lookup_table_end);
-
- cur_offset = wim->out_fd.offset;
-
- if (wim->hdr.integrity.offset == 0 || old_lookup_table_end == 0) {
- old_table = NULL;
- } else {
- ret = read_integrity_table(wim,
- old_lookup_table_end - WIM_HEADER_DISK_SIZE,
- &old_table);
- if (ret == WIMLIB_ERR_INVALID_INTEGRITY_TABLE) {
- WARNING("Old integrity table is invalid! "
- "Ignoring it");
- } else if (ret != 0) {
- WARNING("Can't read old integrity table! "
- "Ignoring it");
- }
- }