Marcus Meissner : d3d9/tests: Initialize shader to NULL.
Alexandre Julliard
julliard at winehq.org
Wed Oct 3 06:08:15 CDT 2007
Module: wine
Branch: master
Commit: 4a31362d537222109c672be3f18b7ed1732b4bf3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4a31362d537222109c672be3f18b7ed1732b4bf3
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Tue Oct 2 19:23:20 2007 +0200
d3d9/tests: Initialize shader to NULL.
---
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 328813c..2402a97 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -1375,7 +1375,7 @@ static void test_null_stream(void)
IDirect3D9 *d3d9;
HWND hwnd;
HRESULT hr;
- IDirect3DVertexShader9 *shader;
+ IDirect3DVertexShader9 *shader = NULL;
IDirect3DVertexDeclaration9 *decl;
DWORD shader_code[] = {
0xfffe0101, /* vs_1_1 */
More information about the wine-cvs
mailing list