[edk2] [PATCH] MdeModulePkg: Delete never touched code

Song, BinX posted 1 patch 7 years, 4 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/reggnu.c   | 3 +--
MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regposix.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
[edk2] [PATCH] MdeModulePkg: Delete never touched code
Posted by Song, BinX 7 years, 4 months ago
- 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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] MdeModulePkg: Delete never touched code
Posted by Zeng, Star 7 years, 4 months ago
Reviewed-by: Star Zeng <star.zeng@intel.com>

-----Original Message-----
From: Song, BinX 
Sent: Thursday, August 3, 2017 1:52 PM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.zeng@intel.com>; Dong, Eric <eric.dong@intel.com>
Subject: [PATCH] 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.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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel