Suppress -Wbitwise-instead-of-logical warning that was introduced by clang 14

This commit is contained in:
kobalicek
2022-06-21 23:47:57 +02:00
parent d0cdd70168
commit 06d0badec5
5 changed files with 25 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
#include <stdio.h>
struct TestSettings {
bool quiet;
bool verbose;
bool validate;
};
@@ -73,7 +73,7 @@ public:
return false;
}
if (!settings.quiet)
if (settings.verbose)
printf(" OK [%s] <- %s\n", encodedOpcode.data(), s);
passed++;