mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Replace final three suppressions entries with line numbers
- These were initially not included in these changes, as they were other PRs (#3104 & #3132) that address them.
This commit is contained in:
@@ -124,7 +124,7 @@ RuleWithActions::RuleWithActions(
|
||||
delete a;
|
||||
std::cout << "General failure, action: " << a->m_name;
|
||||
std::cout << " has an unknown type." << std::endl;
|
||||
throw;
|
||||
throw; // cppcheck-suppress rethrowNoCurrentException
|
||||
}
|
||||
}
|
||||
delete actions;
|
||||
|
@@ -84,7 +84,7 @@ class SharedFiles {
|
||||
bool toBeCreated(false);
|
||||
bool err = false;
|
||||
|
||||
m_memKeyStructure = ftok(".", 1);
|
||||
m_memKeyStructure = ftok(".", 1); // cppcheck-suppress useInitializationList
|
||||
if (m_memKeyStructure < 0) {
|
||||
err = true;
|
||||
goto err_mem_key;
|
||||
|
Reference in New Issue
Block a user