OSDN Git Service

json-parser: remove dead increment
authorAmit Shah <amit.shah@redhat.com>
Wed, 13 Jan 2010 10:54:47 +0000 (16:24 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 13 Jan 2010 23:14:15 +0000 (17:14 -0600)
clang-analyzer points out a redundant increment.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
json-parser.c

index 7624c0f..e04932f 100644 (file)
@@ -247,8 +247,6 @@ static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token
         }
     }
 
-    ptr++;
-
     return str;
 
 out: