[PATCH] ddraw: added missing break; (Coverity)

Marcus Meissner marcus at jet.franken.de
Sun May 1 08:37:51 CDT 2011


Hi,

Pretty sure this break; is missing.
CID 5045

Ciao, Marcus
---
 dlls/ddraw/device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index 3909987..001dff3 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -2384,6 +2384,7 @@ IDirect3DDeviceImpl_7_GetRenderState(IDirect3DDevice7 *iface,
                                                WINED3DRS_DEPTHBIAS,
                                                &wined3d_value.d);
             if (SUCCEEDED(hr)) *Value = -wined3d_value.f * 16.0f;
+            break;
         }
 
         default:
-- 
1.7.3.4



More information about the wine-patches mailing list