Gerald Pfeifer : gdiplus: Initialize a variable in SOFTWARE_GdipFillRegion to avoid a compiler warning .
Alexandre Julliard
julliard at winehq.org
Mon Apr 4 10:10:57 CDT 2011
Module: wine
Branch: master
Commit: 25764d79c01a0f01e2ece5f48e0ae09590eca1a8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25764d79c01a0f01e2ece5f48e0ae09590eca1a8
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Apr 2 22:35:17 2011 +0200
gdiplus: Initialize a variable in SOFTWARE_GdipFillRegion to avoid a compiler warning.
---
dlls/gdiplus/graphics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 4fdfa9c..cecc880 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3673,7 +3673,7 @@ static GpStatus SOFTWARE_GdipFillRegion(GpGraphics *graphics, GpBrush *brush,
GpRectF graphics_bounds;
UINT scans_count, i;
INT dummy;
- GpRect *scans;
+ GpRect *scans = NULL;
DWORD *pixel_data;
if (!brush_can_fill_pixels(brush))
More information about the wine-cvs
mailing list