1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-05 01:26:24 +00:00

Remove warnings of unused variables

This commit is contained in:
Carles Fernandez 2018-01-20 12:24:38 +01:00
parent db938bb047
commit 5acef7a9bc

View File

@ -448,8 +448,6 @@ int rtklib_pvt_cc::work (int noutput_items, gr_vector_const_void_star &input_ite
bool flag_compute_pvt_output = false; bool flag_compute_pvt_output = false;
bool flag_write_RTCM_1019_output = false; bool flag_write_RTCM_1019_output = false;
bool flag_write_RTCM_1045_output = false; bool flag_write_RTCM_1045_output = false;
bool flag_write_RTCM_1077_output = false;
bool flag_write_RTCM_1097_output = false;
bool flag_write_RTCM_MSM_output = false; bool flag_write_RTCM_MSM_output = false;
bool flag_write_RINEX_obs_output = false; bool flag_write_RINEX_obs_output = false;
bool flag_write_RINEX_nav_output = false; bool flag_write_RINEX_nav_output = false;
@ -539,13 +537,11 @@ int rtklib_pvt_cc::work (int noutput_items, gr_vector_const_void_star &input_ite
if ((std::fabs(current_RX_time - last_RTCM_1077_output_time) * 1000.0 >= static_cast<double>(d_rtcm_MT1077_rate_ms)) && (d_rtcm_MT1077_rate_ms != 0) ) if ((std::fabs(current_RX_time - last_RTCM_1077_output_time) * 1000.0 >= static_cast<double>(d_rtcm_MT1077_rate_ms)) && (d_rtcm_MT1077_rate_ms != 0) )
{ {
flag_write_RTCM_1077_output = true;
last_RTCM_1077_output_time = current_RX_time; last_RTCM_1077_output_time = current_RX_time;
} }
if ((std::fabs(current_RX_time - last_RTCM_1097_output_time) * 1000.0 >= static_cast<double>(d_rtcm_MT1097_rate_ms)) && (d_rtcm_MT1097_rate_ms != 0) ) if ((std::fabs(current_RX_time - last_RTCM_1097_output_time) * 1000.0 >= static_cast<double>(d_rtcm_MT1097_rate_ms)) && (d_rtcm_MT1097_rate_ms != 0) )
{ {
flag_write_RTCM_1097_output = true;
last_RTCM_1097_output_time = current_RX_time; last_RTCM_1097_output_time = current_RX_time;
} }