Michael Stefaniuc : msxml3: Remove dead code: break after return (Smatch).

Alexandre Julliard julliard at winehq.org
Thu Nov 25 11:18:54 CST 2010


Module: wine
Branch: master
Commit: 828fff8c8bcd3595f51c1073600a38af9616b486
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=828fff8c8bcd3595f51c1073600a38af9616b486

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Nov 24 23:11:44 2010 +0100

msxml3: Remove dead code: break after return (Smatch).

---

 dlls/msxml3/schema.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c
index cddbc5c..fa609a9 100644
--- a/dlls/msxml3/schema.c
+++ b/dlls/msxml3/schema.c
@@ -590,7 +590,6 @@ HRESULT dt_validate(XDR_DT dt, xmlChar const* content)
     {
         case DT_INVALID:
             return E_FAIL;
-            break;
         case DT_BIN_BASE64:
         case DT_BIN_HEX:
         case DT_BOOLEAN:
@@ -637,11 +636,9 @@ HRESULT dt_validate(XDR_DT dt, xmlChar const* content)
                 hr = S_OK;
             }
             return hr;
-            break;
         default:
             FIXME("need to handle dt:%s\n", dt_to_str(dt));
             return S_OK;
-            break;
     }
 }
 




More information about the wine-cvs mailing list