Cosmetics: fix cppcheck warnings

This commit is contained in:
Felipe Zimmerle
2020-10-22 10:08:35 -03:00
parent 8da787a390
commit 4b425850cf
6 changed files with 12 additions and 9 deletions

View File

@@ -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;