st/dri: remove an unused-but-set variable
authorMarek Olšák <maraeo@gmail.com>
Tue, 16 Aug 2011 16:48:11 +0000 (18:48 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 16 Aug 2011 17:39:59 +0000 (19:39 +0200)
src/gallium/state_trackers/dri/drm/dri2.c

index 53638da9888fe2483657a9f17fe94667b1438986..cf476056f41347d85de7ad5259d936a2d0cabc70 100644 (file)
@@ -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)