Dylan Smith : d3dx9: Removed a duplicate NULL check.
Alexandre Julliard
julliard at winehq.org
Thu Oct 13 14:10:11 CDT 2011
Module: wine
Branch: master
Commit: 8f8e86eaa35af2c20589fa1933e82ef3c62b2958
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8f8e86eaa35af2c20589fa1933e82ef3c62b2958
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Thu Oct 13 09:12:55 2011 -0400
d3dx9: Removed a duplicate NULL check.
---
dlls/d3dx9_36/mesh.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 6e1433e..2460373 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -3444,7 +3444,7 @@ HRESULT WINAPI D3DXFrameDestroy(LPD3DXFRAME frame, LPD3DXALLOCATEHIERARCHY alloc
current_frame = frame->pFrameSibling;
frame->pFrameSibling = current_frame->pFrameSibling;
current_frame->pFrameSibling = NULL;
- } else if (frame) {
+ } else {
current_frame = frame;
last = TRUE;
}
More information about the wine-cvs
mailing list