d3d8: Initialize IDirect3DDevice8 *device to NULL in case of immediate cleanup (Coverity 795).

This commit is contained in:
Aric Stewart 2008-10-05 11:52:52 -05:00 committed by Alexandre Julliard
parent e3e9bc30fd
commit f7cacc1f09
1 changed files with 1 additions and 1 deletions

View File

@ -1288,7 +1288,7 @@ static void test_depth_stencil_reset(void)
D3DPRESENT_PARAMETERS present_parameters;
D3DDISPLAYMODE display_mode;
IDirect3DSurface8 *surface;
IDirect3DDevice8 *device;
IDirect3DDevice8 *device = NULL;
IDirect3D8 *d3d8;
HRESULT hr;
HWND hwnd;