From 5b951d74bd66ec9d38448e0a85b1cf8b85d97db3 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 4 Aug 2014 09:02:56 +0200 Subject: [PATCH] src: fix clang warning Fix http_parser.c:2147:3: warning: Value stored to 'uf' is never read found by Clang Analyser. Reviewed-By: Fedor Indutny --- http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.c b/http_parser.c index 69dea71..5e1dd3c 100644 --- a/http_parser.c +++ b/http_parser.c @@ -2144,7 +2144,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);