mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-25 09:28:22 +08:00
Fix another coverity warning about unitialized structure fields usage
This commit is contained in:
parent
4c74232688
commit
3aafbdd269
@ -4856,7 +4856,7 @@ make_partition_table_consistent:
|
||||
std::sort(partitions.begin(), partitions.end());
|
||||
|
||||
// Check for intersections and paddings between partitions
|
||||
CPD_PARTITION_INFO padding;
|
||||
CPD_PARTITION_INFO padding = {};
|
||||
|
||||
// Check intersection with the partition table header
|
||||
if (partitions.front().ptEntry.Offset.Offset < ptSize) {
|
||||
|
Loading…
Reference in New Issue
Block a user