mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 17:41:52 +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