Gerald Pfeifer : winex11.drv: Initialize a variable in create_xcursor_frame to silence a warning.
Alexandre Julliard
julliard at winehq.org
Mon Apr 4 10:10:57 CDT 2011
Module: wine
Branch: master
Commit: 4d936753321fb40a3eedd527f1b548e556e51af4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d936753321fb40a3eedd527f1b548e556e51af4
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sun Apr 3 21:23:38 2011 +0200
winex11.drv: Initialize a variable in create_xcursor_frame to silence a warning.
---
dlls/winex11.drv/mouse.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index ab500ef..1a2d618 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -295,7 +295,7 @@ static XcursorImage *create_xcursor_frame( HDC hdc, const ICONINFOEXW *iinfo, HA
{
XcursorImage *image, *ret = NULL;
DWORD delay_jiffies, num_steps;
- int x, y, i, has_alpha;
+ int x, y, i, has_alpha = FALSE;
XcursorPixel *ptr;
wine_tsx11_lock();
More information about the wine-cvs
mailing list