1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

cpplint: fix whitespace/semicolon

This commit is contained in:
Carles Fernandez 2020-02-23 02:45:51 +01:00
parent 2a3786b0a5
commit 3c4ec48d43
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
6 changed files with 44 additions and 52 deletions

View File

@ -158,7 +158,6 @@ double adjcp(rtcm_t *rtcm, int sat, int freq, double cp)
{
if (rtcm->cp[sat - 1][freq] == 0.0)
{
;
}
else if (cp < rtcm->cp[sat - 1][freq] - 750.0)
{
@ -1860,7 +1859,6 @@ int decode_type1047(rtcm_t *rtcm)
eph_t eph = {0, -1, -1, 0, 0, 0, 0, 0, {0, 0.0}, {0, 0.0}, {0, 0.0},
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, {0.0}, {0.0}, 0.0, 0.0};
;
double toc;
double sqrtA;
char *msg;

View File

@ -3142,7 +3142,6 @@ int readblq(const char *file, const char *sta, double *odisp)
sscanf(sta, "%16s", staname);
for (p = staname; (*p = static_cast<char>(toupper(static_cast<int>(*p)))); p++)
{
;
}
if (!(fp = fopen(file, "re")))
@ -3163,7 +3162,6 @@ int readblq(const char *file, const char *sta, double *odisp)
}
for (p = name; (*p = static_cast<char>(toupper(static_cast<int>(*p)))); p++)
{
;
}
if (strcmp(name, staname) != 0)
{

View File

@ -2790,11 +2790,9 @@ int rtkpos(rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav)
/* count rover/base station observations */
for (nu = 0; nu < n && obs[nu].rcv == 1; nu++)
{
;
}
for (nr = 0; nu + nr < n && obs[nu + nr].rcv == 2; nr++)
{
;
}
time = rtk->sol.time; /* previous epoch */

View File

@ -1157,7 +1157,6 @@ int waittcpsvr(tcpsvr_t *tcpsvr, char *msg)
}
while (accsock(tcpsvr, msg))
{
;
}
updatetcpsvr(tcpsvr, msg);
return tcpsvr->svr.state == 2;
@ -2848,7 +2847,6 @@ void strsendcmd(stream_t *str, const char *cmd)
if (!*msg || *msg == '#')
{ /* null or comment */
;
}
else if (*msg == '!')
{ /* binary escape */

View File

@ -244,7 +244,7 @@ void glonass_l1_ca_dll_pll_c_aid_tracking_sc::start_tracking()
d_acq_code_phase_samples = corrected_acq_phase_samples;
d_carrier_frequency_hz = d_acq_carrier_doppler_hz + (DFRQ1_GLO * static_cast<double>(GLONASS_PRN.at(d_acquisition_gnss_synchro->PRN)));
;
d_carrier_doppler_hz = d_acq_carrier_doppler_hz;
d_carrier_phase_step_rad = GLONASS_TWO_PI * d_carrier_frequency_hz / static_cast<double>(d_fs_in);

View File

@ -242,7 +242,7 @@ void glonass_l2_ca_dll_pll_c_aid_tracking_sc::start_tracking()
d_acq_code_phase_samples = corrected_acq_phase_samples;
d_carrier_frequency_hz = d_acq_carrier_doppler_hz + (DFRQ2_GLO * static_cast<double>(GLONASS_PRN.at(d_acquisition_gnss_synchro->PRN)));
;
d_carrier_doppler_hz = d_acq_carrier_doppler_hz;
d_carrier_phase_step_rad = GLONASS_TWO_PI * d_carrier_frequency_hz / static_cast<double>(d_fs_in);