Skip to content

Commit

Permalink
Fix warning: 'nlen' may be used uninitialized in this function.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220822 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
minfrin committed Dec 19, 2011
1 parent e7ed95c commit 50af4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/apreq_cookie.c
Expand Up @@ -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;
Expand Down

0 comments on commit 50af4de

Please sign in to comment.