From patchwork Thu Feb 13 03:16:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gui Hecheng X-Patchwork-Id: 3642221 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8504F9F501 for ; Thu, 13 Feb 2014 03:20:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C0C0620165 for ; Thu, 13 Feb 2014 03:20:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E76812015D for ; Thu, 13 Feb 2014 03:20:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753218AbaBMDUU (ORCPT ); Wed, 12 Feb 2014 22:20:20 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:27575 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753142AbaBMDUP (ORCPT ); Wed, 12 Feb 2014 22:20:15 -0500 X-IronPort-AV: E=Sophos;i="4.95,836,1384272000"; d="scan'208";a="9517896" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 13 Feb 2014 11:16:20 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id s1D3K49d002790 for ; Thu, 13 Feb 2014 11:20:06 +0800 Received: from localhost.localdomain ([10.167.226.111]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2014021311180580-1798839 ; Thu, 13 Feb 2014 11:18:05 +0800 From: Gui Hecheng To: linux-btrfs@vger.kernel.org Cc: Gui Hecheng Subject: [PATCH 2/4] btrfs-progs: remove a dead break before usage() Date: Thu, 13 Feb 2014 11:16:36 +0800 Message-Id: <1392261398-6197-2-git-send-email-guihc.fnst@cn.fujitsu.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1392261398-6197-1-git-send-email-guihc.fnst@cn.fujitsu.com> References: <1392261398-6197-1-git-send-email-guihc.fnst@cn.fujitsu.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2014/02/13 11:18:06, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2014/02/13 11:18:10, Serialize complete at 2014/02/13 11:18:10 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The usage() in help.c calls exit(1), so the break behind is nonsense and should be removed. Signed-off-by: Gui Hecheng --- cmds-property.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmds-property.c b/cmds-property.c index 3d1f18c..df53f91 100644 --- a/cmds-property.c +++ b/cmds-property.c @@ -335,7 +335,6 @@ static void parse_args(int argc, char **argv, break; default: usage(usage_str); - break; } }