mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Fix some static analysis warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user