Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Analyzer

This commit is contained in:
Alexis La Goutte 2014-04-30 09:03:36 +02:00 committed by Tatsuhiro Tsujikawa
parent b2f07b1d8c
commit ed5339953e
1 changed files with 1 additions and 1 deletions

View File

@ -2094,7 +2094,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
u->port = u->field_set = 0;
s = is_connect ? s_req_server_start : s_req_spaces_before_url;
uf = old_uf = UF_MAX;
old_uf = UF_MAX;
for (p = buf; p < buf + buflen; p++) {
s = parse_url_char(s, *p);