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

View file

@ -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;