d3dx9: Remove an unnecessary initialization (LLVM/Clang).
Matteo Bruni
matteo.mystral at gmail.com
Fri Feb 18 12:55:11 CST 2011
-------------- next part --------------
From 4fb0cb8287318a83b954e31b043d8b25f617704a Mon Sep 17 00:00:00 2001
From: Matteo Bruni <mbruni at codeweavers.com>
Date: Mon, 7 Feb 2011 20:17:14 +0100
Subject: 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;
--
1.7.3.4
More information about the wine-patches
mailing list