Commit 50af4de0 authored by Graham Leggett's avatar Graham Leggett
Browse files

Fix warning: 'nlen' may be used uninitialized in this function.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220822 13f79535-47bb-0310-9956-ffa450edef68
parent e7ed95c3
Loading
Loading
Loading
Loading
+1 −1
Changes for server/apreq_cookie.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ APREQ_DECLARE(apr_status_t)apreq_parse_cookie_header(apr_pool_t *p,
    for (;;) {
        apr_status_t status;
        const char *name, *value;
        apr_size_t nlen, vlen;
        apr_size_t nlen = 0, vlen;

        while (*hdr == ';' || apr_isspace(*hdr))
            ++hdr;