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
1 changed files with 1 additions and 1 deletions

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