Henri Verbeet : ddraw: Remove a few more redundant inits (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Fri Oct 10 08:06:29 CDT 2008
Module: wine
Branch: master
Commit: 8299df900c5571f301d7c64ef34545e984349952
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8299df900c5571f301d7c64ef34545e984349952
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Oct 9 15:33:05 2008 +0200
ddraw: Remove a few more redundant inits (LLVM/Clang).
---
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);
More information about the wine-cvs
mailing list