From patchwork Tue Apr 15 23:56:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Gang X-Patchwork-Id: 339401 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7E98C140093 for ; Wed, 16 Apr 2014 09:57:19 +1000 (EST) Received: from localhost ([::1]:52129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaDE5-0004M8-K4 for incoming@patchwork.ozlabs.org; Tue, 15 Apr 2014 19:57:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaDDi-000402-FG for qemu-devel@nongnu.org; Tue, 15 Apr 2014 19:57:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaDDX-0006DI-8Y for qemu-devel@nongnu.org; Tue, 15 Apr 2014 19:56:54 -0400 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:35634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaDDM-00061n-6M; Tue, 15 Apr 2014 19:56:43 -0400 Received: by mail-pa0-f43.google.com with SMTP id bj1so10188765pad.16 for ; Tue, 15 Apr 2014 16:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=HftVmgvSYaNglZRWl5Zw2Ezf5cBv8ubWnhtV4Kij0bw=; b=afx3E/Rn8HkmGgWj8uD6oiIIn8KnVqW2z77NnO2P1un6vWjspKaZqYzsElil9qCGKN TFYzTinKTd4qZJgwGCyFa2vwsbavGHjcPAIKbLO+zL440TV6FJCkLL3RybNdXCqBtPj0 0f0W5ORQW68MwgDaWwBstcW2Si9bbUGecw0ViQBh/9yaOBTVXpSWapXroRvjWgFkUuZw i+f4NMslGKAR2Rsh+GG5DBLiCkcQKY29AobLKwb9IXmVVZcKkNvQx0SNRqzJCwbx1Hk+ 2/AqLngvcISpazbtAU5OmY0tI7Ol3S3YQior6RGP5y39ZdFeqMQyhxlDouNC8J+BKCeg EZhQ== X-Received: by 10.66.219.6 with SMTP id pk6mr5046468pac.9.1397606191116; Tue, 15 Apr 2014 16:56:31 -0700 (PDT) Received: from [192.168.1.104] ([124.126.238.172]) by mx.google.com with ESMTPSA id tk5sm42830587pbc.63.2014.04.15.16.56.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Apr 2014 16:56:27 -0700 (PDT) Message-ID: <534DC724.4040301@gmail.com> Date: Wed, 16 Apr 2014 07:56:20 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Markus Armbruster , Peter Maydell , Michael Tokarev , Anthony Liguori References: <534DC6EA.6050203@gmail.com> In-Reply-To: <534DC6EA.6050203@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22b Cc: QEMU Trivial , QEMU Developers Subject: [Qemu-devel] [PATCH trivial v2 1/2] vl: Remove useless 'continue' X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org "This if else has no code between it and the end of the enclosing while loop. This makes this continue redundant." Signed-off-by: Chen Gang --- vl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/vl.c b/vl.c index 9975e5a..7505002 100644 --- a/vl.c +++ b/vl.c @@ -3034,7 +3034,6 @@ int main(int argc, char **argv, char **envp) if (argv[optind][0] != '-') { /* disk image */ optind++; - continue; } else { const QEMUOption *popt;