diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-01-13 16:24:47 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-13 17:14:15 -0600 |
commit | 2da69c8d122570832971ee4bb5b6b4395ec97280 (patch) | |
tree | 4567dba4bafa36bc9149747dfb284f0fb7ae33f9 /json-parser.c | |
parent | f7dcfac024246e2ad84ac35c617b95700377e00b (diff) | |
download | qemu-2da69c8d122570832971ee4bb5b6b4395ec97280.tar.gz qemu-2da69c8d122570832971ee4bb5b6b4395ec97280.tar.bz2 qemu-2da69c8d122570832971ee4bb5b6b4395ec97280.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.c | 2 |
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: |