From: Erwan Velu Date: Thu, 15 Oct 2015 12:36:56 +0000 (+0200) Subject: CLEANUP: proto_http: Removing useless variable assignation X-Git-Tag: v1.7-dev5~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b12ff9a2013770b76c4b9f84d9abe672bad6d5b5;p=thirdparty%2Fhaproxy.git 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 c8df1a45a8..50e3d486ee 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 */