Michael Stefaniuc : jscript: Remove break after return (Smatch).

Alexandre Julliard julliard at winehq.org
Tue Jan 3 12:52:54 CST 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Jan  2 22:23:48 2012 +0100

jscript: Remove break after return (Smatch).

---

 dlls/jscript/jsutils.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/jscript/jsutils.c b/dlls/jscript/jsutils.c
index 2463a0b..b145d8a 100644
--- a/dlls/jscript/jsutils.c
+++ b/dlls/jscript/jsutils.c
@@ -571,10 +571,8 @@ HRESULT to_string(script_ctx_t *ctx, VARIANT *v, jsexcept_t *ei, BSTR *str)
     case VT_I4:
         *str = int_to_bstr(V_I4(v));
         break;
-    case VT_R8: {
+    case VT_R8:
         return double_to_bstr(V_R8(v), str);
-        break;
-    }
     case VT_BSTR:
         *str = SysAllocString(V_BSTR(v));
         break;




More information about the wine-cvs mailing list