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 <fedor@indutny.com>
make-http-max-header-size-gyp-configurable
Alexis La Goutte 10 years ago committed by Fedor Indutny
parent 1317eeca43
commit 5b951d74bd

@ -2144,7 +2144,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
u->port = u->field_set = 0; u->port = u->field_set = 0;
s = is_connect ? s_req_server_start : s_req_spaces_before_url; 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++) { for (p = buf; p < buf + buflen; p++) {
s = parse_url_char(s, *p); s = parse_url_char(s, *p);

Loading…
Cancel
Save