From ed5339953e51ebc7fd2a0b25732018ee8abc12bb Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 30 Apr 2014 09:03:36 +0200 Subject: [PATCH] Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Analyzer --- third-party/http-parser/http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/http-parser/http_parser.c b/third-party/http-parser/http_parser.c index 9695525b..20cb67b3 100644 --- a/third-party/http-parser/http_parser.c +++ b/third-party/http-parser/http_parser.c @@ -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);