st/dri: remove unused variables
authorMarek Olšák <maraeo@gmail.com>
Sun, 10 Jul 2011 15:40:38 +0000 (17:40 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 10 Jul 2011 15:40:38 +0000 (17:40 +0200)
src/gallium/state_trackers/dri/common/dri_context.c

index 08bbdf96e3447123ee4da33ae1b0b6190c9f14d8..e6612b1911d053ac67bddbc3e25ce821f46ac251 100644 (file)
@@ -143,8 +143,6 @@ dri_unbind_context(__DRIcontext * cPriv)
    /* dri_util.c ensures cPriv is not null */
    struct dri_screen *screen = dri_screen(cPriv->driScreenPriv);
    struct dri_context *ctx = dri_context(cPriv);
-   struct dri_drawable *draw = dri_drawable(ctx->dPriv);
-   struct dri_drawable *read = dri_drawable(ctx->rPriv);
    struct st_api *stapi = screen->st_api;
 
    if (--ctx->bind_count == 0) {