From 3aafbdd269645104681bb0d5d5e769aa697d088e Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Thu, 25 Aug 2022 09:43:18 +0200 Subject: [PATCH] Fix another coverity warning about unitialized structure fields usage --- common/ffsparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index 21c7b22..abd448c 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -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) {