summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-29 10:53:36 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-29 10:54:29 +0000
commit646b4a9483c01509a7324cc05eaadb72bc940c6d (patch)
treefa8d396d202f68739c8d512e8e1b537414e171d6 /src/i830_driver.c
parent917f9bb2435ba36bb99ef4d4f7b380d7f265e862 (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>
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 445ab37b..5069142a 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1170,8 +1170,8 @@ int i830_crtc_to_pipe(xf86CrtcPtr crtc)
static Bool
I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv)
{
- ScrnInfoPtr scrn = xf86Screens[screen->myNum];;
- intel_screen_private *intel = intel_get_screen_private(scrn);;
+ ScrnInfoPtr scrn = xf86Screens[screen->myNum];
+ intel_screen_private *intel = intel_get_screen_private(scrn);
VisualPtr visual;
MessageType from;
struct pci_device *const device = intel->PciInfo;