1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

penultimate clang-tidy compromise

This commit is contained in:
Jim Melton 2022-08-08 23:50:39 -06:00
parent daaa4799b6
commit 7bd25aa9cc
No known key found for this signature in database
GPG Key ID: C46392D9AACAB216

View File

@ -419,7 +419,7 @@ file_t *openfile(std::string const &path, int mode, char *msg)
std::istringstream ss(tag); std::istringstream ss(tag);
ss.ignore(1, 'S').ignore(1, '=') >> swapintv; ss.ignore(1, 'S').ignore(1, '=') >> swapintv;
// do we care if there are extra characters? // do we care if there are extra characters?
if (swapintv < 0) swapintv = 0; if (swapintv < 0) swapintv = 0; // NOLINT(readability-braces-around-statements)
file->swapintv = swapintv; file->swapintv = swapintv;
} }
else else