summaryrefslogtreecommitdiff
path: root/src/i830_cursor.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-03-01 13:01:52 -0800
committerEric Anholt <anholt@leguin.anholt.net>2006-04-06 15:55:05 -0700
commit2538cbeb5014e40280a3ae782a755512b1dc85fa (patch)
tree3457a6b98b66f68d51897c1f9ba4a4c3378c0ac1 /src/i830_cursor.c
parent7746da3b346968ab8d2534fc158d026da67cc7b5 (diff)
Enable -Wall on GCC, and do a cleanup of existing warnings.
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r--src/i830_cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c
index dfed8cda..ea472fa5 100644
--- a/src/i830_cursor.c
+++ b/src/i830_cursor.c
@@ -359,7 +359,9 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y)
{
I830Ptr pI830 = I830PTR(pScrn);
CARD32 temp = 0;
+#if 0
static Bool outsideViewport = FALSE;
+#endif
Bool hide = FALSE, show = FALSE;
int oldx = x, oldy = y;
int hotspotx = 0, hotspoty = 0;