mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 06:09:03 +03:00
Cosmetics: fix cppcheck warnings
This commit is contained in:
@@ -91,11 +91,11 @@ bool GeoLookup::setDataBase(const std::string& filePath,
|
||||
#endif
|
||||
err->append(".");
|
||||
|
||||
if (intMax.size() > 0) {
|
||||
if (!intMax.empty()) {
|
||||
err->append(" " + intMax);
|
||||
|
||||
}
|
||||
if (intGeo.size() > 0) {
|
||||
if (!intGeo.empty()) {
|
||||
err->append(" " + intGeo);
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user