Revert "disk: Bug fix in find_unique_sectors()"

This reverts commit a9e8f32851.
This commit is contained in:
mintsuki 2022-01-14 02:04:22 +01:00
parent a9e8f32851
commit 0eba7b0a95
1 changed files with 2 additions and 5 deletions

View File

@ -372,16 +372,13 @@ static void find_unique_sectors(void) {
volume_index[i]->unique_sector_valid = true;
volume_index[i]->unique_sector_crc32 = crc32;
} else {
// next column
goto next_column;
}
}
return;
next_column:
for (size_t i = 0; i < volume_index_i; i++) {
volume_index[i]->unique_sector_valid = false;
}
next_column:;
}
unique_sector_column = (uint64_t)-1;