From a86869e6c3131b83a2ad529bc313270a9f45f5bd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 19 Feb 2010 08:15:30 -0800 Subject: Fix an unused variable warning for !INTEL_XVMC. --- src/i830_driver.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/i830_driver.c') diff --git a/src/i830_driver.c b/src/i830_driver.c index 35e57f67..1cbef7e6 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1103,7 +1103,9 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv) ScrnInfoPtr scrn = xf86Screens[screen->myNum]; intel_screen_private *intel = intel_get_screen_private(scrn); VisualPtr visual; +#ifdef INTEL_XVMC MessageType from; +#endif struct pci_device *const device = intel->PciInfo; int fb_bar = IS_I9XX(intel) ? 2 : 0; -- cgit v1.2.3