mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-24 03:57:39 +00:00
Miscelaneous clang-tidy fixes
This commit is contained in:
@@ -645,7 +645,7 @@ int sbsreadmsgt(const char *file, int sel, gtime_t ts, gtime_t te,
|
||||
for (i = 0; i < n; i++)
|
||||
{
|
||||
if (!(ext = strrchr(efiles[i], '.'))) continue;
|
||||
if (strcmp(ext, ".sbs") != 0 && strcmp(ext, ".SBS") &&
|
||||
if (strcmp(ext, ".sbs") != 0 && strcmp(ext, ".SBS") != 0 &&
|
||||
strcmp(ext, ".ems") != 0 && strcmp(ext, ".EMS") != 0) continue;
|
||||
|
||||
readmsgs(efiles[i], sel, ts, te, sbs);
|
||||
|
||||
@@ -682,7 +682,7 @@ void decode_solopt(char *buff, solopt_t *opt)
|
||||
|
||||
trace(4, "decode_solhead: buff=%s\n", buff);
|
||||
|
||||
if (strncmp(buff, COMMENTH, 1) != 0 && strncmp(buff, "+", 1)) return;
|
||||
if (strncmp(buff, COMMENTH, 1) != 0 && strncmp(buff, "+", 1) != 0) return;
|
||||
|
||||
if (strstr(buff, "GPST"))
|
||||
opt->times = TIMES_GPST;
|
||||
|
||||
Reference in New Issue
Block a user