Fix another coverity warning about unitialized structure fields usage

This commit is contained in:
Nikolaj Schlej 2022-08-25 09:43:18 +02:00
parent 4c74232688
commit 3aafbdd269

View File

@ -4856,7 +4856,7 @@ make_partition_table_consistent:
std::sort(partitions.begin(), partitions.end()); std::sort(partitions.begin(), partitions.end());
// Check for intersections and paddings between partitions // Check for intersections and paddings between partitions
CPD_PARTITION_INFO padding; CPD_PARTITION_INFO padding = {};
// Check intersection with the partition table header // Check intersection with the partition table header
if (partitions.front().ptEntry.Offset.Offset < ptSize) { if (partitions.front().ptEntry.Offset.Offset < ptSize) {