Matteo Bruni : d3dx9: Remove an unnecessary initialization (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Mon Feb 21 10:56:57 CST 2011
Module: wine
Branch: master
Commit: 6505aed5980083c3d180aa8f2815c996e1687ecb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6505aed5980083c3d180aa8f2815c996e1687ecb
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Mon Feb 7 20:17:14 2011 +0100
d3dx9: Remove an unnecessary initialization (LLVM/Clang).
---
dlls/d3dx9_36/texture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c
index f107bbf..1c40d96 100644
--- a/dlls/d3dx9_36/texture.c
+++ b/dlls/d3dx9_36/texture.c
@@ -66,7 +66,7 @@ HRESULT WINAPI D3DXFilterTexture(LPDIRECT3DBASETEXTURE9 texture,
UINT srclevel,
DWORD filter)
{
- UINT level = srclevel + 1;
+ UINT level;
HRESULT hr;
D3DRESOURCETYPE type;
More information about the wine-cvs
mailing list