Skip to content

Commit

Permalink
Fix defect detected by Coverity Scan (uninitialized scalar variables)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Jan 29, 2021
1 parent c7887a0 commit 3c17f0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void read_results(std::vector<volk_gnsssdr_test_results_t> *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]);
Expand Down

0 comments on commit 3c17f0a

Please sign in to comment.