diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-02-24 14:07:23 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-02-24 14:13:04 -0500 |
commit | 170f00e161931fdaa8c2812fc710649e1d6d977a (patch) | |
tree | b292ff9d735aee512dfe4009d3896823d5e36bbd | |
parent | a6b31f38ebf470c61de0e10b0ce2af0d7ee1684b (diff) |
Remove a handful of unused variable warnings.
-rw-r--r-- | src/i830_dri.c | 4 | ||||
-rw-r--r-- | src/i830_video.c | 3 |
2 files changed, 1 insertions, 6 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; diff --git a/src/i830_video.c b/src/i830_video.c index c9a01813..76b51898 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2790,9 +2790,6 @@ I830StopSurface(XF86SurfacePtr surface) static int I830FreeSurface(XF86SurfacePtr surface) { - ScrnInfoPtr pScrn = surface->pScrn; - OffscreenPrivPtr pPriv = (OffscreenPrivPtr) surface->devPrivate.ptr; - I830StopSurface(surface); xfree(surface->pitches); xfree(surface->offsets); |