summaryrefslogtreecommitdiff
path: root/src/i830_dri.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-02-24 14:07:23 -0500
committerKristian Høgsberg <krh@redhat.com>2009-02-24 14:13:04 -0500
commit170f00e161931fdaa8c2812fc710649e1d6d977a (patch)
treeb292ff9d735aee512dfe4009d3896823d5e36bbd /src/i830_dri.c
parenta6b31f38ebf470c61de0e10b0ce2af0d7ee1684b (diff)
Remove a handful of unused variable warnings.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r--src/i830_dri.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index 105bb108..540bf5e7 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -1080,7 +1080,6 @@ I830DRIMoveBuffers(WindowPtr pParent, DDXPointRec ptOldOrg,
{
ScreenPtr pScreen = pParent->drawable.pScreen;
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
- I830Ptr pI830 = I830PTR(pScrn);
BoxPtr pboxTmp, pboxNext, pboxBase;
DDXPointPtr pptTmp, pptNew2 = NULL;
int xdir, ydir;
@@ -1253,7 +1252,6 @@ I830DRITransitionTo2d(ScreenPtr pScreen)
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
I830Ptr pI830 = I830PTR(pScrn);
- drmI830Sarea *sPriv = (drmI830Sarea *) DRIGetSAREAPrivate(pScreen);
pI830->want_vblank_interrupts = FALSE;
I830DRISetVBlankInterrupt(pScrn, FALSE);
@@ -1679,7 +1677,7 @@ Bool I830DRI2ScreenInit(ScreenPtr pScreen)
I830Ptr pI830 = I830PTR(pScrn);
DRI2InfoRec info;
char *p, buf[64];
- int fd, i, cmp;
+ int i;
struct stat sbuf;
dev_t d;