From e60c93da7204d0c5e06b547211d080aa527253a6 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 10 Sep 2017 11:04:53 +0200 Subject: [PATCH] Remove extraneous parentheses warnings --- src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc | 4 ++-- src/core/system_parameters/glonass_gnav_navigation_message.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc index 083aee259..f5bf5e503 100644 --- a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc +++ b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_cc.cc @@ -920,11 +920,11 @@ int rtklib_pvt_cc::work (int noutput_items, gr_vector_const_void_star &input_ite { rp->log_rinex_nav(rp->navGloFile, d_ls_pvt->glonass_gnav_ephemeris_map); } - if((type_of_rx == 26)) // GPS L1 C/A + GLONASS L1 C/A + if(type_of_rx == 26) // GPS L1 C/A + GLONASS L1 C/A { rp->log_rinex_nav(rp->navMixFile, d_ls_pvt->gps_ephemeris_map, d_ls_pvt->glonass_gnav_ephemeris_map); } - if((type_of_rx == 27)) // Galileo E1B + GLONASS L1 C/A + if(type_of_rx == 27) // Galileo E1B + GLONASS L1 C/A { rp->log_rinex_nav(rp->navMixFile, d_ls_pvt->galileo_ephemeris_map, d_ls_pvt->glonass_gnav_ephemeris_map); } diff --git a/src/core/system_parameters/glonass_gnav_navigation_message.cc b/src/core/system_parameters/glonass_gnav_navigation_message.cc index f92dcf57a..7555324ef 100644 --- a/src/core/system_parameters/glonass_gnav_navigation_message.cc +++ b/src/core/system_parameters/glonass_gnav_navigation_message.cc @@ -709,7 +709,7 @@ bool Glonass_Gnav_Navigation_Message::have_new_ephemeris() //Check if we have a { if ((flag_ephemeris_str_1 == true) and (flag_ephemeris_str_2 == true) and (flag_ephemeris_str_3 == true) and (flag_ephemeris_str_4 == true)) { - if ((gnav_ephemeris.d_P_4 == 1) ) + if (gnav_ephemeris.d_P_4 == 1) { flag_ephemeris_str_1 = false;// clear the flag flag_ephemeris_str_2 = false;// clear the flag