diff --git a/src/tests/gnss_block/fir_filter_test.cc b/src/tests/gnss_block/fir_filter_test.cc index 4c3436385..647b4d76d 100644 --- a/src/tests/gnss_block/fir_filter_test.cc +++ b/src/tests/gnss_block/fir_filter_test.cc @@ -43,8 +43,7 @@ #include "gnss_sdr_valve.h" #include "fir_filter.h" -DEFINE_string(filter_test_output_filename, "../src/tests/data/fir_filter_test_output.dat", "Dump filename") -; +DEFINE_string(filter_test_output_filename, "../src/tests/data/fir_filter_test_output.dat", "Dump filename"); class Fir_Filter_Test: public ::testing::Test { protected: @@ -105,8 +104,8 @@ TEST_F(Fir_Filter_Test, ConnectAndRun) int fs_in = 8000000; int nsamples = 10000000; struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; init(); diff --git a/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc b/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc index d9c10c0b7..8b8abe756 100644 --- a/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc +++ b/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_gsoc_test.cc @@ -152,8 +152,8 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionGSoCTest, ConnectAndRun) int fs_in = 4000000; int nsamples = 4*fs_in; struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; init(); GalileoE1PcpsAmbiguousAcquisition *acquisition = new GalileoE1PcpsAmbiguousAcquisition(config, "Acquisition", 1, 1, queue); @@ -184,8 +184,8 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionGSoCTest, ConnectAndRun) TEST_F(GalileoE1PcpsAmbiguousAcquisitionGSoCTest, ValidationOfResults) { struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; init(); GalileoE1PcpsAmbiguousAcquisition *acquisition = new GalileoE1PcpsAmbiguousAcquisition(config, "Acquisition", 1, 1, queue); diff --git a/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_test.cc b/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_test.cc index bdad59f4a..ce8439c66 100644 --- a/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_test.cc +++ b/src/tests/gnss_block/galileo_e1_pcps_ambiguous_acquisition_test.cc @@ -142,8 +142,8 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionTest, ConnectAndRun) int fs_in = 4000000; int nsamples = 4*fs_in; struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; init(); GalileoE1PcpsAmbiguousAcquisition *acquisition = new GalileoE1PcpsAmbiguousAcquisition(config, "Acquisition", 1, 1, queue); @@ -174,8 +174,8 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionTest, ConnectAndRun) TEST_F(GalileoE1PcpsAmbiguousAcquisitionTest, ValidationOfResults) { struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; double expected_delay_samples = 2920; //18250; double expected_doppler_hz = 632; init(); diff --git a/src/tests/gnss_block/gps_l1_ca_pcps_acquisition_test.cc b/src/tests/gnss_block/gps_l1_ca_pcps_acquisition_test.cc index b23816bbf..1e2a8e380 100644 --- a/src/tests/gnss_block/gps_l1_ca_pcps_acquisition_test.cc +++ b/src/tests/gnss_block/gps_l1_ca_pcps_acquisition_test.cc @@ -141,8 +141,8 @@ TEST_F(GpsL1CaPcpsAcquisitionTest, ConnectAndRun) int fs_in = 4000000; int nsamples = 4000; struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; init(); GpsL1CaPcpsAcquisition *acquisition = new GpsL1CaPcpsAcquisition(config, "Acquisition", 1, 1, queue); @@ -173,8 +173,8 @@ TEST_F(GpsL1CaPcpsAcquisitionTest, ConnectAndRun) TEST_F(GpsL1CaPcpsAcquisitionTest, ValidationOfResults) { struct timeval tv; - long long int begin; - long long int end; + long long int begin = 0; + long long int end = 0; double expected_delay_samples = 524; double expected_doppler_hz = -1680; init();