mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 17:41:52 +03:00
cosmetics: Please cppcheck
This commit is contained in:
@@ -303,7 +303,7 @@ class TransactionSecMarkerManagement {
|
|||||||
if (m_marker) {
|
if (m_marker) {
|
||||||
return m_marker;
|
return m_marker;
|
||||||
} else {
|
} else {
|
||||||
throw;
|
throw std::runtime_error("Error get current marker\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ RuleWithActions::RuleWithActions(
|
|||||||
delete a;
|
delete a;
|
||||||
std::cout << "General failure, action: " << a->m_name;
|
std::cout << "General failure, action: " << a->m_name;
|
||||||
std::cout << " has an unknown type." << std::endl;
|
std::cout << " has an unknown type." << std::endl;
|
||||||
throw;
|
throw std::runtime_error("Unexpected condition. Action without a type.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete actions;
|
delete actions;
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ knownConditionTrueFalse:src/operators/verify_svnr.cc:87
|
|||||||
|
|
||||||
noExplicitConstructor:seclang-parser.hh
|
noExplicitConstructor:seclang-parser.hh
|
||||||
constParameter:seclang-parser.hh
|
constParameter:seclang-parser.hh
|
||||||
|
accessMoved:seclang-parser.hh
|
||||||
|
|
||||||
unusedFunction
|
unusedFunction
|
||||||
missingIncludeSystem
|
missingIncludeSystem
|
||||||
|
|||||||
Reference in New Issue
Block a user