@@ -797,7 +797,6 @@ static const char *add_rule(cmd_parms *cmd, directory_config *dcfg, int type,
797797 int type_with_lua = 1 ;
798798 int type_rule ;
799799 int rule_actionset ;
800- int offset = 0 ;
801800
802801 #ifdef DEBUG_CONF
803802 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,
19351934 ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_conn_read_state_limit: _dcfg is NULL" );
19361935 return NULL ;
19371936 }
1938- directory_config * dcfg = (directory_config * )_dcfg ;
19391937 long int limit ;
19401938
19411939 limit = strtol (p1 , NULL , 10 );
@@ -1991,7 +1989,6 @@ static const char *cmd_conn_write_state_limit(cmd_parms *cmd, void *_dcfg,
19911989 ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_conn_write_state_limit: _dcfg is NULL" );
19921990 return NULL ;
19931991 }
1994- directory_config * dcfg = (directory_config * )_dcfg ;
19951992 long int limit ;
19961993
19971994 limit = strtol (p1 , NULL , 10 );
@@ -2519,7 +2516,6 @@ static const char *cmd_sever_conn_filters_engine(cmd_parms *cmd, void *_dcfg,
25192516 ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_sever_conn_filters_engine: _dcfg is NULL" );
25202517 return NULL ;
25212518 }
2522- directory_config * dcfg = (directory_config * )_dcfg ;
25232519
25242520 if (strcasecmp (p1 , "on" ) == 0 )
25252521 {
@@ -2587,7 +2583,6 @@ static const char *cmd_remote_rules_fail(cmd_parms *cmd, void *_dcfg, const char
25872583 ap_log_perror (APLOG_MARK , APLOG_EMERG , 0 , cmd -> pool , "cmd_remote_rules_fail: _dcfg is NULL" );
25882584 return NULL ;
25892585 }
2590- directory_config * dcfg = (directory_config * )_dcfg ;
25912586
25922587 if (strncasecmp (p1 , "warn" , 4 ) == 0 )
25932588 {
0 commit comments