Miscelaneous clang-tidy fixes

This commit is contained in:
Carles Fernandez
2018-12-14 02:14:43 +01:00
parent fa03077ca1
commit 432c6b9c70
21 changed files with 48 additions and 48 deletions
+1 -1
View File
@@ -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);