Module: wine Branch: master Commit: 7a8455094d56497d29f3d5f55735b77b7af85cd9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a8455094d56497d29f3d5f557...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Sat Jun 23 15:40:48 2007 +0100
d3d9/tests: Fix use of uninitialized variable (Coverity).
---
dlls/d3d9/tests/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 710ec46..ec54ea4 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -1263,7 +1263,7 @@ static void test_draw_indexed(void) IDirect3DVertexBuffer9 *vertex_buffer = NULL; IDirect3DIndexBuffer9 *index_buffer = NULL; D3DPRESENT_PARAMETERS present_parameters; - IDirect3DDevice9 *device; + IDirect3DDevice9 *device = NULL; IDirect3D9 *d3d9; HRESULT hr; HWND hwnd;