Commit 14b64761 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Quiet a second error, bodyread is always set alongside bodylen,
  and we would never use the bodyread unless bodylen is set.

  However gcc4 doesn't like our style, so quiet the compiler.

Reported by: jorton


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@290561 13f79535-47bb-0310-9956-ffa450edef68
parent 8ae14fed
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/http/http_protocol.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1374,7 +1374,7 @@ AP_DECLARE_NONSTD(int) ap_send_http_trace(request_rec *r)
    header_struct h;
    apr_bucket *b;
    int body;
    char *bodyread, *bodyoff;
    char *bodyread = NULL, *bodyoff;
    apr_size_t bodylen = 0;
    apr_size_t bodybuf;
    long res;