mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +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);
|
pthread_exit(NULL);
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -165,7 +164,6 @@ class ReadingLogsViaRuleMessage {
|
|||||||
|
|
||||||
delete rules;
|
delete rules;
|
||||||
delete modsec;
|
delete modsec;
|
||||||
pthread_exit(NULL);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,8 +35,5 @@ int main(int argc, char **argv) {
|
|||||||
response_headers, response_body, ip, rules);
|
response_headers, response_body, ip, rules);
|
||||||
rlvrm.process();
|
rlvrm.process();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pthread_exit(NULL);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user