Hi

Fixes a Clang warning. This write is pointless, since it is never read.

- Lauri
>From 7e0a21defbda3be56f79f69381d0c34618ae8ba3 Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <[email protected]>
Date: Wed, 23 May 2012 17:18:43 +0300
Subject: [PATCH 04/13] request: Remove dead assignment

Fixes a Clang warning. This write is pointless, since it is never read.

Signed-off-by: Lauri Kasanen <[email protected]>
---
 src/mk_request.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mk_request.c b/src/mk_request.c
index 844de04..895bf5c 100644
--- a/src/mk_request.c
+++ b/src/mk_request.c
@@ -337,7 +337,6 @@ static int mk_request_parse(struct client_session *cs)
             offset = end + mk_endblock.len;
             sr_node->data = mk_method_get_data(cs->body + offset,
                                                cs->body_length - offset);
-            i += sr_node->data.len;
         }
 
         /* Increase index to the end of the current block */
-- 
1.7.2.1

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to