ddraw: Remove a few more redundant inits. (LLVM/Clang)
Henri Verbeet
hverbeet at codeweavers.com
Thu Oct 9 08:33:05 CDT 2008
---
dlls/ddraw/device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
index cb0bda5..2eb2ae2 100644
--- a/dlls/ddraw/device.c
+++ b/dlls/ddraw/device.c
@@ -3248,7 +3248,7 @@ IDirect3DDeviceImpl_7_SetTransform(IDirect3DDevice7 *iface,
D3DMATRIX *Matrix)
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface);
- D3DTRANSFORMSTATETYPE type = TransformStateType;
+ D3DTRANSFORMSTATETYPE type;
HRESULT hr;
TRACE("(%p)->(%08x,%p): Relay\n", This, TransformStateType, Matrix);
@@ -3343,7 +3343,7 @@ IDirect3DDeviceImpl_7_GetTransform(IDirect3DDevice7 *iface,
D3DMATRIX *Matrix)
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface);
- D3DTRANSFORMSTATETYPE type = TransformStateType;
+ D3DTRANSFORMSTATETYPE type;
HRESULT hr;
TRACE("(%p)->(%08x,%p): Relay\n", This, TransformStateType, Matrix);
--
1.5.6.4
--------------030800070709020005010800--
More information about the wine-patches
mailing list