summaryrefslogtreecommitdiff
path: root/src/i830_cursor.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-24 12:32:38 +0800
committerEric Anholt <eric@anholt.net>2007-01-24 12:32:38 +0800
commite21332419581eff1d7651741bae0b640c84d0ecd (patch)
treea862e57f156ff7041a451c5bf49839f9b2f3e9dc /src/i830_cursor.c
parent74ebff6732b9bfcf8c865b52cbebfd9bf6b73eb2 (diff)
Warning fix.
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r--src/i830_cursor.c4
1 files 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)