summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-08-16 18:48:11 +0200
committerMarek Olšák <[email protected]>2011-08-16 19:39:59 +0200
commit5e7713caa9d601e59b600218a3b867db0f331deb (patch)
treefc1d84b51cba5196892bed41e70df0dc825fc054 /src/gallium
parent4a47662beaa2092447939db7880531fb706afedd (diff)
st/dri: remove an unused-but-set variable
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/dri/drm/dri2.c1
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 53638da9888..cf476056f41 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)