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:
parent
daaa4799b6
commit
7bd25aa9cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user