Cosmetic changes: applies changes suggested by static analysis

This commit is contained in:
Felipe Zimmerle
2016-07-12 00:46:12 -03:00
parent 247f24c5bb
commit 4078677b7f
26 changed files with 139 additions and 122 deletions

View File

@@ -83,7 +83,7 @@ void process_request (int j) {
int main (int argc, char **argv)
{
int ret = 1;
int ret;
const char *error = NULL;
int i = 0;
pid_t pid;

View File

@@ -24,7 +24,7 @@ char main_rule_uri[] = "basic_rules.conf";
int main (int argc, char **argv)
{
int ret = 1;
int ret;
const char *error = NULL;
ModSecurity *modsec = NULL;
Transaction *transaction = NULL;