d3d9/tests: Fix use of uninitialized variable (Coverity).

This commit is contained in:
Andrew Talbot 2007-06-23 15:40:48 +01:00 committed by Alexandre Julliard
parent 361280b22b
commit 7a8455094d
1 changed files with 1 additions and 1 deletions

View File

@ -1263,7 +1263,7 @@ static void test_draw_indexed(void)
IDirect3DVertexBuffer9 *vertex_buffer = NULL; IDirect3DVertexBuffer9 *vertex_buffer = NULL;
IDirect3DIndexBuffer9 *index_buffer = NULL; IDirect3DIndexBuffer9 *index_buffer = NULL;
D3DPRESENT_PARAMETERS present_parameters; D3DPRESENT_PARAMETERS present_parameters;
IDirect3DDevice9 *device; IDirect3DDevice9 *device = NULL;
IDirect3D9 *d3d9; IDirect3D9 *d3d9;
HRESULT hr; HRESULT hr;
HWND hwnd; HWND hwnd;