summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-02-19 08:15:30 -0800
committerEric Anholt <eric@anholt.net>2010-02-20 12:55:13 -0500
commita86869e6c3131b83a2ad529bc313270a9f45f5bd (patch)
tree421ddcff3edc997522bdc65bdaefdc739af3b3cb /src/i830_driver.c
parentec5deb2bcbf828c3c47488eb77461c26cab38ed6 (diff)
Fix an unused variable warning for !INTEL_XVMC.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c2
1 files changed, 2 insertions, 0 deletions
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;