jscript: Remove break after return (Smatch).

Michael Stefaniuc mstefani at redhat.de
Mon Jan 2 15:23:48 CST 2012


---
 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;
-- 
1.7.6.4



More information about the wine-patches mailing list