mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-27 01:14:51 +00:00
Fix defect detected by Coverity Scan (uninitialized scalar variables)
This commit is contained in:
parent
c7887a03e5
commit
3c17f0a9a7
@ -232,7 +232,7 @@ void read_results(std::vector<volk_gnsssdr_test_results_t> *results, std::string
|
|||||||
|
|
||||||
if (single_kernel_result.size() == 3)
|
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.name = std::string(single_kernel_result[0]);
|
||||||
kernel_result.config_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]);
|
kernel_result.best_arch_u = std::string(single_kernel_result[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user