wined3d: Remove another redundant NULL check (LLVM/Clang).
Henri Verbeet
hverbeet at codeweavers.com
Fri Oct 31 10:21:22 CDT 2008
---
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
--------------040609090202000404060102--
More information about the wine-patches
mailing list