From patchwork Wed Jan 13 10:54:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 42806 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 54AD11007D2 for ; Wed, 13 Jan 2010 22:14:40 +1100 (EST) Received: from localhost ([127.0.0.1]:60716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV1BM-0001Fn-RB for incoming@patchwork.ozlabs.org; Wed, 13 Jan 2010 06:14:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV0td-0001HY-Cz for qemu-devel@nongnu.org; Wed, 13 Jan 2010 05:56:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV0tZ-0001Fk-0i for qemu-devel@nongnu.org; Wed, 13 Jan 2010 05:56:16 -0500 Received: from [199.232.76.173] (port=35083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV0tY-0001Fc-Mj for qemu-devel@nongnu.org; Wed, 13 Jan 2010 05:56:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14877) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NV0tY-0004Lu-49 for qemu-devel@nongnu.org; Wed, 13 Jan 2010 05:56:12 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0DAuBmc029339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 13 Jan 2010 05:56:11 -0500 Received: from localhost (vpn-232-206.phx2.redhat.com [10.3.232.206]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0DAu9j2030121; Wed, 13 Jan 2010 05:56:10 -0500 From: Amit Shah To: qemu-devel@nongnu.org Date: Wed, 13 Jan 2010 16:24:47 +0530 Message-Id: <1263380087-31821-7-git-send-email-amit.shah@redhat.com> In-Reply-To: <1263380087-31821-6-git-send-email-amit.shah@redhat.com> References: <1263380087-31821-1-git-send-email-amit.shah@redhat.com> <1263380087-31821-2-git-send-email-amit.shah@redhat.com> <1263380087-31821-3-git-send-email-amit.shah@redhat.com> <1263380087-31821-4-git-send-email-amit.shah@redhat.com> <1263380087-31821-5-git-send-email-amit.shah@redhat.com> <1263380087-31821-6-git-send-email-amit.shah@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Amit Shah Subject: [Qemu-devel] [PATCH 6/6] json-parser: remove dead increment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org clang-analyzer points out a redundant increment. Signed-off-by: Amit Shah --- json-parser.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/json-parser.c b/json-parser.c index 7624c0f..e04932f 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: