From 25707d4c5dd2ecea573f804ff6a42188e52d8e40 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 24 Jul 2007 22:29:16 +0200 Subject: [PATCH] wined3d: Remove a return after a return. Found by Smatch. --- dlls/wined3d/surface.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 07467be3f10..11e0fba9094 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -3152,7 +3152,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_BltZ(IWineD3DSurfaceImpl *This, RECT * { IWineD3DDeviceImpl *myDevice = This->resource.wineD3DDevice; - if (Flags & WINEDDBLT_DEPTHFILL) { + if (Flags & WINEDDBLT_DEPTHFILL) return IWineD3DDevice_Clear((IWineD3DDevice *) myDevice, DestRect == NULL ? 0 : 1, (WINED3DRECT *) DestRect, @@ -3161,9 +3161,6 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_BltZ(IWineD3DSurfaceImpl *This, RECT * (float) DDBltFx->u5.dwFillDepth / (float) MAXDWORD, 0x00000000); - return WINED3D_OK; - } - FIXME("(%p): Unsupp depthstencil blit\n", This); return WINED3DERR_INVALIDCALL; }