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

Alexandre Julliard julliard at winehq.org
Mon Jan 18 10:58:51 CST 2010


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Jan 14 21:58:11 2010 +0100

d3d10: Remove break after return (Smatch).

---

 dlls/d3d10/effect.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 9dc94b6..f31bddd 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -308,7 +308,6 @@ static HRESULT parse_shader(struct d3d10_effect_variable *v, const char *data)
         default:
             ERR("This should not happen!\n");
             return E_FAIL;
-            break;
     }
 
     return parse_dxbc(ptr, dxbc_size, shader_chunk_handler, s);




More information about the wine-cvs mailing list