@@ -797,7 +797,6 @@ static const char *add_rule(cmd_parms *cmd, directory_config *dcfg, int type,
797
797
int type_with_lua = 1 ;
798
798
int type_rule ;
799
799
int rule_actionset ;
800
- int offset = 0 ;
801
800
802
801
#ifdef DEBUG_CONF
803
802
ap_log_perror (APLOG_MARK , APLOG_STARTUP |APLOG_NOERRNO , 0 , cmd -> pool ,
@@ -1935,7 +1934,6 @@ static const char *cmd_conn_read_state_limit(cmd_parms *cmd, void *_dcfg,
1935
1934
ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_conn_read_state_limit: _dcfg is NULL" );
1936
1935
return NULL ;
1937
1936
}
1938
- directory_config * dcfg = (directory_config * )_dcfg ;
1939
1937
long int limit ;
1940
1938
1941
1939
limit = strtol (p1 , NULL , 10 );
@@ -1991,7 +1989,6 @@ static const char *cmd_conn_write_state_limit(cmd_parms *cmd, void *_dcfg,
1991
1989
ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_conn_write_state_limit: _dcfg is NULL" );
1992
1990
return NULL ;
1993
1991
}
1994
- directory_config * dcfg = (directory_config * )_dcfg ;
1995
1992
long int limit ;
1996
1993
1997
1994
limit = strtol (p1 , NULL , 10 );
@@ -2519,7 +2516,6 @@ static const char *cmd_sever_conn_filters_engine(cmd_parms *cmd, void *_dcfg,
2519
2516
ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_sever_conn_filters_engine: _dcfg is NULL" );
2520
2517
return NULL ;
2521
2518
}
2522
- directory_config * dcfg = (directory_config * )_dcfg ;
2523
2519
2524
2520
if (strcasecmp (p1 , "on" ) == 0 )
2525
2521
{
@@ -2587,7 +2583,6 @@ static const char *cmd_remote_rules_fail(cmd_parms *cmd, void *_dcfg, const char
2587
2583
ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_remote_rules_fail: _dcfg is NULL" );
2588
2584
return NULL ;
2589
2585
}
2590
- directory_config * dcfg = (directory_config * )_dcfg ;
2591
2586
2592
2587
if (strncasecmp (p1 , "warn" , 4 ) == 0 )
2593
2588
{
0 commit comments