mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Removes some warnings by adding missing returns
This commit is contained in:
@@ -104,6 +104,7 @@ class ModSecurityStringVariables :
|
||||
if (updateFirstVariable(key, value) == false) {
|
||||
storeVariable(key, value);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -28,11 +28,6 @@
|
||||
#ifndef HEADERS_MODSECURITY_RULES_H_
|
||||
#define HEADERS_MODSECURITY_RULES_H_
|
||||
|
||||
#ifndef __cplusplus
|
||||
typedef struct Rules_t Rules;
|
||||
typedef struct Assay_t Assay;
|
||||
#endif
|
||||
|
||||
#include "modsecurity/modsecurity.h"
|
||||
#include "modsecurity/assay.h"
|
||||
#include "modsecurity/rules_properties.h"
|
||||
|
Reference in New Issue
Block a user