mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Added const reported by cppcheck 2.14
This commit is contained in:
committed by
Eduardo Arias
parent
d053ec6de6
commit
bbef22b3b5
@@ -89,7 +89,7 @@ template <class T>
|
||||
void
|
||||
ModSecurityTest<T>::load_tests(const std::string &path) {
|
||||
DIR *dir;
|
||||
struct dirent *ent;
|
||||
const struct dirent *ent;
|
||||
struct stat buffer;
|
||||
|
||||
if ((dir = opendir(path.c_str())) == nullptr) {
|
||||
|
Reference in New Issue
Block a user