Module: wine Branch: master Commit: 4d936753321fb40a3eedd527f1b548e556e51af4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d936753321fb40a3eedd527f1...
Author: Gerald Pfeifer gerald@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();