disk: Bug fix in find_unique_sectors()

This commit is contained in:
mintsuki 2022-01-13 19:38:43 +01:00
parent 3277ad25cf
commit a9e8f32851
1 changed files with 5 additions and 2 deletions

View File

@ -372,13 +372,16 @@ 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:;
next_column:
for (size_t i = 0; i < volume_index_i; i++) {
volume_index[i]->unique_sector_valid = false;
}
}
unique_sector_column = (uint64_t)-1;