From: Amit Shah Date: Wed, 13 Jan 2010 10:54:47 +0000 (+0530) Subject: json-parser: remove dead increment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2da69c8d122570832971ee4bb5b6b4395ec97280;p=qemu.git json-parser: remove dead increment clang-analyzer points out a redundant increment. Signed-off-by: Amit Shah Signed-off-by: Anthony Liguori --- 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: