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