summaryrefslogtreecommitdiff
path: root/json-parser.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-01-13 16:24:47 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-13 17:14:15 -0600
commitcc76abb85d66da0a547936ed31fc48de01eee1a2 (patch)
tree4567dba4bafa36bc9149747dfb284f0fb7ae33f9 /json-parser.c
parentbc835312d26b984fa19fedd365c797d9a36d76f6 (diff)
downloadqemu-cc76abb85d66da0a547936ed31fc48de01eee1a2.tar.gz
qemu-cc76abb85d66da0a547936ed31fc48de01eee1a2.tar.bz2
qemu-cc76abb85d66da0a547936ed31fc48de01eee1a2.zip
json-parser: remove dead increment
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>
Diffstat (limited to 'json-parser.c')
-rw-r--r--json-parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/json-parser.c b/json-parser.c
index 7624c0f9bd..e04932f907 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: