From b12ff9a2013770b76c4b9f84d9abe672bad6d5b5 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Thu, 15 Oct 2015 14:36:56 +0200 Subject: [PATCH] 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. --- src/proto_http.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index c8df1a45a..50e3d486e 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -1961,7 +1961,6 @@ static int http_upgrade_v09_to_v10(struct http_txn *txn) 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 */