From 3c17f0a9a7897b983b90f501a34c18da731e05e8 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 29 Jan 2021 14:01:21 +0100 Subject: [PATCH] Fix defect detected by Coverity Scan (uninitialized scalar variables) --- .../volk_gnsssdr/apps/volk_gnsssdr_profile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/volk_gnsssdr_profile.cc b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/volk_gnsssdr_profile.cc index d3c9269e0..5a060c3d1 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/volk_gnsssdr_profile.cc +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/apps/volk_gnsssdr_profile.cc @@ -232,7 +232,7 @@ void read_results(std::vector *results, std::string if (single_kernel_result.size() == 3) { - volk_gnsssdr_test_results_t kernel_result; + volk_gnsssdr_test_results_t kernel_result{}; kernel_result.name = std::string(single_kernel_result[0]); kernel_result.config_name = std::string(single_kernel_result[0]); kernel_result.best_arch_u = std::string(single_kernel_result[1]);