Mesa (master): st/dri: remove an unused-but-set variable

Marek Olšák mareko at kemper.freedesktop.org
Tue Aug 16 10:41:57 PDT 2011


Module: Mesa
Branch: master
Commit: 5e7713caa9d601e59b600218a3b867db0f331deb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e7713caa9d601e59b600218a3b867db0f331deb

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Aug 16 18:48:11 2011 +0200

st/dri: remove an unused-but-set variable

---

 src/gallium/state_trackers/dri/drm/dri2.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c
index 53638da..cf47605 100644
--- a/src/gallium/state_trackers/dri/drm/dri2.c
+++ b/src/gallium/state_trackers/dri/drm/dri2.c
@@ -46,7 +46,6 @@
 static void
 dri2_flush_drawable(__DRIdrawable *draw)
 {
-   struct dri_drawable *drawable = dri_drawable(draw);
    struct dri_context *ctx = dri_get_current(draw->driScreenPriv);
 
    if (ctx)



More information about the mesa-commit mailing list