@@ -217,7 +217,7 @@ static void add_hcheck(server_rec *s, const proxy_server_conf *conf, proxy_worke
217217
218218static int (* ap_proxy_retry_worker_fn )(const char * proxy_function , proxy_worker * worker , server_rec * s ) = NULL ;
219219
220- static int is_worker_empty (volatile proxy_worker * worker )
220+ static int is_worker_empty (proxy_worker * worker )
221221{
222222 return worker && (worker -> s -> port == 0 || worker -> s -> scheme [0 ] == '\0' || worker -> s -> hostname [0 ] == '\0' );
223223}
@@ -232,7 +232,7 @@ static void check_workers(const proxy_server_conf *conf, const server_rec *s)
232232 proxy_worker * * workers ;
233233 workers = (proxy_worker * * )balancer -> workers -> elts ;
234234 for (j = 0 ; j < balancer -> workers -> nelts ; j ++ , workers ++ ) {
235- volatile proxy_worker * worker = * workers ;
235+ proxy_worker * worker = * workers ;
236236 proxy_cluster_helper * helper ;
237237 int stop_worker = 0 ;
238238 helper = (proxy_cluster_helper * )worker -> context ;
@@ -2072,7 +2072,7 @@ static int proxy_node_get_free_id(request_rec *r, int node_table_size)
20722072 proxy_worker * * workers ;
20732073 workers = (proxy_worker * * )balancer -> workers -> elts ;
20742074 for (j = 0 ; j < balancer -> workers -> nelts ; j ++ , workers ++ ) {
2075- volatile proxy_worker * worker = * workers ;
2075+ proxy_worker * worker = * workers ;
20762076 proxy_cluster_helper * helper ;
20772077 if (worker -> s -> index >= node_table_size ) {
20782078 ap_log_error (APLOG_MARK , APLOG_WARNING , 0 , r -> server ,
0 commit comments