diff mbox

[6/6] json-parser: remove dead increment

Message ID 1263380087-31821-7-git-send-email-amit.shah@redhat.com
State New
Headers show

Commit Message

Amit Shah Jan. 13, 2010, 10:54 a.m. UTC
clang-analyzer points out a redundant increment.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
 json-parser.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/json-parser.c b/json-parser.c
index 7624c0f..e04932f 100644
--- a/json-parser.c
+++ b/json-parser.c
@@ -247,8 +247,6 @@  static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token
         }
     }
 
-    ptr++;
-
     return str;
 
 out: