Commit 7a845509 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

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

parent 361280b2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment