Skip to content

Commit b861e71

Browse files
committed
Merge r1923806 from trunk:
Fix variable declaration warning in scoreboard.c Submitted by: Vladimír Chlup <vchlup redhat.com> Github: closes #516 Reviewed by: rpluem, jorton, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1926108 13f79535-47bb-0310-9956-ffa450edef68
1 parent f82a9e8 commit b861e71

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

STATUS

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
205205
undefined otherwise.
206206
rpluem says: Good catch. Added r1926091 and reset votes.
207207

208-
*) scoreboard.c: Fix variable declaration warning in scoreboard.c
209-
Trunk version of patch:
210-
https://svn.apache.org/r1923806
211-
Backport version for 2.4.x of patch:
212-
Trunk version of patch works
213-
svn merge -c 1923806 ^/httpd/httpd/trunk .
214-
+1: rpluem, jorton, ylavic
215-
216208
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
217209
[ New proposals should be added at the end of the list ]
218210

server/scoreboard.c

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

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

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

0 commit comments

Comments
 (0)