]> Git Repo - qemu.git/commitdiff
json-parser: remove dead increment
authorAmit Shah <[email protected]>
Wed, 13 Jan 2010 10:54:47 +0000 (16:24 +0530)
committerAnthony Liguori <[email protected]>
Wed, 13 Jan 2010 23:14:15 +0000 (17:14 -0600)
clang-analyzer points out a redundant increment.

Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
json-parser.c

index 7624c0f9bd43e0c0812cd2e36871a38eebc0e445..e04932f9070385f7bef4f7b8b32ecf3150806719 100644 (file)
@@ -247,8 +247,6 @@ static QString *qstring_from_escaped_str(JSONParserContext *ctxt, QObject *token
         }
     }
 
-    ptr++;
-
     return str;
 
 out:
This page took 0.026043 seconds and 4 git commands to generate.