public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg: Delete never touched code
@ 2017-08-03  5:52 Song, BinX
  2017-08-07  6:59 ` Zeng, Star
  0 siblings, 1 reply; 2+ messages in thread
From: Song, BinX @ 2017-08-03  5:52 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: Zeng, Star, Dong, Eric

- Delete never touched code

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>
---
 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 = ONIG_ENCODING_ASCII;
     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 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;
 
   default:
-    return ;
-    break;
+    return;
   }
 
   onigenc_set_default_encoding(enc);
-- 
2.10.2.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-07  6:57 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:52 [PATCH] MdeModulePkg: Delete never touched code Song, BinX
2017-08-07  6:59 ` Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox