summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorSong, BinX <binx.song@intel.com>2017-08-03 13:52:21 +0800
committerLiming Gao <liming.gao@intel.com>2017-08-16 16:55:18 +0800
commit39bc77eb761817eb072f8ccd26da952f8c57784d (patch)
tree14df65c6d9fce3e01fc1557f822bbc3abf171ce0 /MdeModulePkg
parent875e842d8d7bb9b045248306e4758ff0ce466fcb (diff)
downloadedk2-39bc77eb761817eb072f8ccd26da952f8c57784d.tar.gz
edk2-39bc77eb761817eb072f8ccd26da952f8c57784d.tar.bz2
edk2-39bc77eb761817eb072f8ccd26da952f8c57784d.zip
MdeModulePkg: Delete never touched code
- Delete never touched code Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c3
-rw-r--r--MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c
index 1b523286ef..70746794a0 100644
--- a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c
+++ b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c
@@ -161,8 +161,7 @@ re_mbcinit(int mb_code)
enc = ONIG_ENCODING_UTF8;
break;
default:
- return ;
- break;
+ return;
}
onigenc_set_default_encoding(enc);
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c
index 06cad487ae..cd294cd9e5 100644
--- a/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c
+++ b/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c
@@ -255,8 +255,7 @@ reg_set_encoding(int mb_code)
break;
default:
- return ;
- break;
+ return;
}
onigenc_set_default_encoding(enc);