summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-29 10:53:36 +0000
committerOwain G. Ainsworth <oga@openbsd.org>2010-03-01 16:07:16 +0000
commita886da8c0137d1227bfc68275db4d6cdf4702b5d (patch)
tree2ce58e10bd92b34f07a3d4d70f94abda3f3fc821 /src/i830_memory.c
parent064e13099707a925a2874e6183c2bcffbdcc8316 (diff)
Cleanup a few compiler warnings.
Simple warnings for unused variables and C99-style declarations. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (Cherry picked from commit 646b4a9483c01509a7324cc05eaadb72bc940c6d).
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 2e5b2c8f..6017c33d 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -1534,6 +1534,8 @@ i830_clear_tiling(ScrnInfoPtr scrn, unsigned int fence_nr)
Bool i830_bind_all_memory(ScrnInfoPtr scrn)
{
intel_screen_private *intel = intel_get_screen_private(scrn);
+ xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
+ int i;
if (intel->memory_list == NULL)
return TRUE;