From e21332419581eff1d7651741bae0b640c84d0ecd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 24 Jan 2007 12:32:38 +0800 Subject: [PATCH] Warning fix. --- src/i830_cursor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i830_cursor.c b/src/i830_cursor.c index bb5bc38d..da220f56 100644 --- a/src/i830_cursor.c +++ b/src/i830_cursor.c @@ -486,8 +486,8 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y) { xf86CrtcPtr crtc = xf86_config->crtc[pipe]; DisplayModePtr mode = &crtc->mode; - int thisx; - int thisy; + int thisx = 0; + int thisy = 0; int hotspotx = 0, hotspoty = 0; if (!crtc->enabled)