mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Clean up 'return' never will be executed.
This commit is contained in:
parent
985cb946cc
commit
7b56db1811
@ -103,7 +103,6 @@ static void *process_request(void *data) {
|
||||
}
|
||||
|
||||
pthread_exit(NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -165,7 +164,6 @@ class ReadingLogsViaRuleMessage {
|
||||
|
||||
delete rules;
|
||||
delete modsec;
|
||||
pthread_exit(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -35,8 +35,5 @@ int main(int argc, char **argv) {
|
||||
response_headers, response_body, ip, rules);
|
||||
rlvrm.process();
|
||||
|
||||
|
||||
|
||||
pthread_exit(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user