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
commit2da69c8d122570832971ee4bb5b6b4395ec97280 (patch)
tree4567dba4bafa36bc9149747dfb284f0fb7ae33f9 /json-parser.c
parentf7dcfac024246e2ad84ac35c617b95700377e00b (diff)
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: