From b11dd542584c292d3d99f173a44552c63139b04e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 31 Oct 2008 16:21:22 +0100 Subject: [PATCH] wined3d: Remove another redundant NULL check (LLVM/Clang). --- dlls/wined3d/surface_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/surface_base.c b/dlls/wined3d/surface_base.c index 1c8de429499..b7ee525367b 100644 --- a/dlls/wined3d/surface_base.c +++ b/dlls/wined3d/surface_base.c @@ -1539,7 +1539,7 @@ IWineD3DBaseSurfaceImpl_BltFast(IWineD3DSurface *iface, } if ((This->Flags & SFLAG_LOCKED) || - ((Src != NULL) && (Src->Flags & SFLAG_LOCKED))) + (Src->Flags & SFLAG_LOCKED)) { WARN(" Surface is busy, returning DDERR_SURFACEBUSY\n"); return WINEDDERR_SURFACEBUSY;