[clang-tidy] simplify boolean expressions

Found with readability-simplify-boolean-expr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-01-31 21:25:24 -08:00
parent bc6eca2115
commit afb29942b0
3 changed files with 3 additions and 9 deletions

View File

@@ -283,7 +283,7 @@ static void help(void)
"Options:\n");
for (const auto &i : option_defs)
if(i.HasDescription() == true) // hide hidden options from help print
if(i.HasDescription()) // hide hidden options from help print
PrintOption(i);
exit(EXIT_SUCCESS);