]> wimlib.net Git - wimlib/blobdiff - src/integrity.c
Generalized support for referencing resources in external WIMs
[wimlib] / src / integrity.c
index 7502b6d2a6cc177a643a2bbd4ee17f02835ff8b2..99a9a9fd64b7e61c5fe7db52696e541e552ab42d 100644 (file)
@@ -328,13 +328,10 @@ write_integrity_table(WIMStruct *wim,
        struct integrity_table *old_table;
        struct integrity_table *new_table;
        int ret;
        struct integrity_table *old_table;
        struct integrity_table *new_table;
        int ret;
-       off_t cur_offset;
        u32 new_table_size;
 
        wimlib_assert(old_lookup_table_end <= new_lookup_table_end);
 
        u32 new_table_size;
 
        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 {
        if (wim->hdr.integrity.offset == 0 || old_lookup_table_end == 0) {
                old_table = NULL;
        } else {