From nobody Tue Apr 30 20:22:04 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1501739598610644.2788935882201; Wed, 2 Aug 2017 22:53:18 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9C71D209589F8; Wed, 2 Aug 2017 22:51:05 -0700 (PDT) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 EB10221E1DAD9 for ; Wed, 2 Aug 2017 22:51:04 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 02 Aug 2017 22:53:16 -0700 Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 02 Aug 2017 22:53:16 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 2 Aug 2017 22:53:15 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Thu, 3 Aug 2017 13:53:13 +0800 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,314,1498546800"; d="dat'59?scan'59,208,59";a="119022606" From: "Song, BinX" To: "edk2-devel@lists.01.org" Thread-Topic: [PATCH] MdeModulePkg: Delete useless case code Thread-Index: AdMMHMqqxypSkubtSe+KZjthco8J2A== Date: Thu, 3 Aug 2017 05:53:12 +0000 Message-ID: <559D2DF22BC9A3468B4FA1AA547F0EF1025830C4@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: <559D2DF22BC9A3468B4FA1AA547F0EF1025830C4@shsmsx102.ccr.corp.intel.com> x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: [edk2] [PATCH] MdeModulePkg: Delete useless case 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: , Cc: "Dong, Eric" , "Zeng, Star" Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" - Delete useless case code to fix /WHOLEARCHIVE build error with VS2015 tool chain Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song Reviewed-by: Star Zeng --- .../Universal/RegularExpressionDxe/Oniguruma/reggnu.c | 9 --------- .../Universal/RegularExpressionDxe/Oniguruma/regposix.c | 12 --------= ---- 2 files changed, 21 deletions(-) diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c= b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c index 1b52328..7fa5819 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c @@ -151,15 +151,6 @@ re_mbcinit(int mb_code) case RE_MBCTYPE_ASCII: enc =3D ONIG_ENCODING_ASCII; break; - case RE_MBCTYPE_EUC: - enc =3D ONIG_ENCODING_EUC_JP; - break; - case RE_MBCTYPE_SJIS: - enc =3D ONIG_ENCODING_SJIS; - break; - case RE_MBCTYPE_UTF8: - enc =3D ONIG_ENCODING_UTF8; - break; default: return ; break; diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix= .c b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c index 06cad48..cfca25e 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c @@ -238,18 +238,6 @@ reg_set_encoding(int mb_code) case REG_POSIX_ENCODING_ASCII: enc =3D ONIG_ENCODING_ASCII; break; - case REG_POSIX_ENCODING_EUC_JP: - enc =3D ONIG_ENCODING_EUC_JP; - break; - case REG_POSIX_ENCODING_SJIS: - enc =3D ONIG_ENCODING_SJIS; - break; - case REG_POSIX_ENCODING_UTF8: - enc =3D ONIG_ENCODING_UTF8; - break; - case REG_POSIX_ENCODING_UTF16_BE: - enc =3D ONIG_ENCODING_UTF16_BE; - break; case REG_POSIX_ENCODING_UTF16_LE: enc =3D ONIG_ENCODING_UTF16_LE; break; --=20 2.10.2.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel