Fix some static analysis warnings

This commit is contained in:
Felipe Zimmerle
2015-11-18 13:56:31 -03:00
parent ac61d1c40b
commit 283c8c818d
2 changed files with 5 additions and 3 deletions

View File

@@ -109,9 +109,7 @@ int main(int argc, char **argv) {
}
}
if (operators.size() == 0 &&
variables.size() == 0 &&
op2var.size() == 0) {
if (operators.empty() && variables.empty() && op2var.empty()) {
std::cout << " ~ no SecRule found ~ " << std::endl;
continue;
}