>From 158197231697eb1e5d9c39b37f80fe5c1040fe69 Mon Sep 17 00:00:00 2001
From: Henri Verbeet <hver...@codeweavers.com>
Date: Fri, 31 Oct 2008 16:21:22 +0100
Subject: wined3d: Remove another redundant NULL check (LLVM/Clang).
---
dlls/wined3d/surface_base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface_base.c b/dlls/wined3d/surface_base.c
index 1c8de42..b7ee525 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;
--
1.5.6.4