mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-20 10:15:21 -04:00
Fix another coverity warning about unitialized structure fields usage
This commit is contained in:
parent
4c74232688
commit
3aafbdd269
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue