* [PATCH] MdeModulePkg: Delete useless case code
@ 2017-08-03 5:53 Song, BinX
2017-08-07 7:01 ` Zeng, Star
0 siblings, 1 reply; 2+ messages in thread
From: Song, BinX @ 2017-08-03 5:53 UTC (permalink / raw)
To: edk2-devel@lists.01.org; +Cc: Zeng, Star, Dong, Eric
- Delete useless case code to fix /WHOLEARCHIVE build
error with VS2015 tool chain
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com>
---
.../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 = ONIG_ENCODING_ASCII;
break;
- case RE_MBCTYPE_EUC:
- enc = ONIG_ENCODING_EUC_JP;
- break;
- case RE_MBCTYPE_SJIS:
- enc = ONIG_ENCODING_SJIS;
- break;
- case RE_MBCTYPE_UTF8:
- enc = 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 = ONIG_ENCODING_ASCII;
break;
- case REG_POSIX_ENCODING_EUC_JP:
- enc = ONIG_ENCODING_EUC_JP;
- break;
- case REG_POSIX_ENCODING_SJIS:
- enc = ONIG_ENCODING_SJIS;
- break;
- case REG_POSIX_ENCODING_UTF8:
- enc = ONIG_ENCODING_UTF8;
- break;
- case REG_POSIX_ENCODING_UTF16_BE:
- enc = ONIG_ENCODING_UTF16_BE;
- break;
case REG_POSIX_ENCODING_UTF16_LE:
enc = ONIG_ENCODING_UTF16_LE;
break;
--
2.10.2.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MdeModulePkg: Delete useless case code
2017-08-03 5:53 [PATCH] MdeModulePkg: Delete useless case code Song, BinX
@ 2017-08-07 7:01 ` Zeng, Star
0 siblings, 0 replies; 2+ messages in thread
From: Zeng, Star @ 2017-08-07 7:01 UTC (permalink / raw)
To: Song, BinX, edk2-devel@lists.01.org; +Cc: Dong, Eric, Zeng, Star
Reviewed-by: Star Zeng <star.zeng@intel.com>
-----Original Message-----
From: Song, BinX
Sent: Thursday, August 3, 2017 1:53 PM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.zeng@intel.com>; Dong, Eric <eric.dong@intel.com>
Subject: [PATCH] MdeModulePkg: Delete useless case code
- Delete useless case code to fix /WHOLEARCHIVE build
error with VS2015 tool chain
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com>
---
.../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 = ONIG_ENCODING_ASCII;
break;
- case RE_MBCTYPE_EUC:
- enc = ONIG_ENCODING_EUC_JP;
- break;
- case RE_MBCTYPE_SJIS:
- enc = ONIG_ENCODING_SJIS;
- break;
- case RE_MBCTYPE_UTF8:
- enc = 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 = ONIG_ENCODING_ASCII;
break;
- case REG_POSIX_ENCODING_EUC_JP:
- enc = ONIG_ENCODING_EUC_JP;
- break;
- case REG_POSIX_ENCODING_SJIS:
- enc = ONIG_ENCODING_SJIS;
- break;
- case REG_POSIX_ENCODING_UTF8:
- enc = ONIG_ENCODING_UTF8;
- break;
- case REG_POSIX_ENCODING_UTF16_BE:
- enc = ONIG_ENCODING_UTF16_BE;
- break;
case REG_POSIX_ENCODING_UTF16_LE:
enc = ONIG_ENCODING_UTF16_LE;
break;
--
2.10.2.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-07 6:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 5:53 [PATCH] MdeModulePkg: Delete useless case code Song, BinX
2017-08-07 7:01 ` Zeng, Star
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox