1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-06 21:07:59 +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

View File

@@ -419,7 +419,7 @@ file_t *openfile(std::string const &path, int mode, char *msg)
std::istringstream ss(tag);
ss.ignore(1, 'S').ignore(1, '=') >> swapintv;
// 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;
}
else