From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D19BC21E1DADD for ; Sun, 6 Aug 2017 23:57:10 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2017 23:59:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,336,1498546800"; d="scan'208";a="1160026230" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 06 Aug 2017 23:59:26 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 6 Aug 2017 23:59:24 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 6 Aug 2017 23:59:23 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.183]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Mon, 7 Aug 2017 14:59:21 +0800 From: "Zeng, Star" To: "Song, BinX" , "edk2-devel@lists.01.org" CC: "Dong, Eric" , "Zeng, Star" Thread-Topic: [PATCH] MdeModulePkg: Delete never touched code Thread-Index: AdMMHKwTJRPCntkAR5y0srrXyYKZyQDLfq2Q Date: Mon, 7 Aug 2017 06:59:20 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B90B94D@shsmsx102.ccr.corp.intel.com> References: <559D2DF22BC9A3468B4FA1AA547F0EF1025830B0@shsmsx102.ccr.corp.intel.com> In-Reply-To: <559D2DF22BC9A3468B4FA1AA547F0EF1025830B0@shsmsx102.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg: Delete never touched code X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 06:57:11 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: Song, BinX=20 Sent: Thursday, August 3, 2017 1:52 PM To: edk2-devel@lists.01.org Cc: Zeng, Star ; Dong, Eric Subject: [PATCH] MdeModulePkg: Delete never touched code - Delete never touched code Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song --- MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c | 3 +-- MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c= b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c index 7fa5819..f9af9ca 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c @@ -152,8 +152,7 @@ re_mbcinit(int mb_code) enc =3D ONIG_ENCODING_ASCII; break; default: - return ; - break; + return; } =20 onigenc_set_default_encoding(enc); diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix= .c b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c index cfca25e..299b88c 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c @@ -243,8 +243,7 @@ reg_set_encoding(int mb_code) break; =20 default: - return ; - break; + return; } =20 onigenc_set_default_encoding(enc); --=20 2.10.2.windows.1