Lei Zhang : gdiplus: Initialize a variable in a test.

Alexandre Julliard julliard at winehq.org
Mon Dec 31 12:32:17 CST 2007


Module: wine
Branch: master
Commit: b810430f1fe5777cfe5f71e69c7478623346ad8b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b810430f1fe5777cfe5f71e69c7478623346ad8b

Author: Lei Zhang <thestig at google.com>
Date:   Fri Dec 28 12:54:31 2007 -0800

gdiplus: Initialize a variable in a test.

---

 dlls/gdiplus/tests/pen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/tests/pen.c b/dlls/gdiplus/tests/pen.c
index 00ecbfb..33b73f9 100644
--- a/dlls/gdiplus/tests/pen.c
+++ b/dlls/gdiplus/tests/pen.c
@@ -29,7 +29,7 @@
 
 static void test_startup(void)
 {
-    GpPen *pen;
+    GpPen *pen = NULL;
     Status status;
     struct GdiplusStartupInput gdiplusStartupInput;
     ULONG_PTR gdiplusToken;




More information about the wine-cvs mailing list