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.
This commit is contained in:
Erwan Velu 2015-10-15 14:36:56 +02:00 committed by Willy Tarreau
parent 0857d7aa8f
commit b12ff9a201

View File

@ -1961,7 +1961,6 @@ static int http_upgrade_v09_to_v10(struct http_txn *txn)
return 0; return 0;
cur_end = msg->chn->buf->p + msg->sl.rq.l; cur_end = msg->chn->buf->p + msg->sl.rq.l;
delta = 0;
if (msg->sl.rq.u_l == 0) { if (msg->sl.rq.u_l == 0) {
/* HTTP/0.9 requests *must* have a request URI, per RFC 1945 */ /* HTTP/0.9 requests *must* have a request URI, per RFC 1945 */