commit | b12ff9a2013770b76c4b9f84d9abe672bad6d5b5 | [log] [tgz] |
---|---|---|
author | Erwan Velu <erwanaliasr1@gmail.com> | Thu Oct 15 14:36:56 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Aug 30 14:24:48 2016 +0200 |
tree | 0b30431e34869091eceee620a48743806004c5fc | |
parent | 0857d7aa8f3ec1b6505da69b0143343b2d0bb077 [diff] |
CLEANUP: proto_http: Removing useless variable assignation delta is set to 0 just before being assigned to a buffer. This patch is just removing this useless line, shorted is better.
diff --git a/src/proto_http.c b/src/proto_http.c index c8df1a4..50e3d48 100644 --- a/src/proto_http.c +++ b/src/proto_http.c
@@ -1961,7 +1961,6 @@ return 0; cur_end = msg->chn->buf->p + msg->sl.rq.l; - delta = 0; if (msg->sl.rq.u_l == 0) { /* HTTP/0.9 requests *must* have a request URI, per RFC 1945 */