Skip to content

Commit 69c4c6b

Browse files
committed
Fix variable declaration warning in scoreboard.c
Submitted by: Vladimír Chlup <vchlup redhat.com> Github: closes #516 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923806 13f79535-47bb-0310-9956-ffa450edef68
1 parent e3d014c commit 69c4c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/scoreboard.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,11 +657,11 @@ AP_DECLARE(void) ap_time_process_request(ap_sb_handle_t *sbh, int status)
657657
AP_DECLARE(void) ap_set_time_process_request(ap_sb_handle_t* const sbh,
658658
const apr_time_t timebeg,const apr_time_t timeend)
659659
{
660+
worker_score *ws;
660661
if (!sbh || sbh->child_num < 0)
661662
return;
662663

663-
worker_score* const ws =
664-
&ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num];
664+
ws = &ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num];
665665

666666
ws->start_time = timebeg;
667667
ws->stop_time = ws->last_used = timeend;

0 commit comments

Comments
 (0)