gallium: Remove unused variable in u_tests.
authorEric Anholt <eric@anholt.net>
Tue, 27 Nov 2018 19:25:09 +0000 (11:25 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 27 Nov 2018 23:02:57 +0000 (15:02 -0800)
Fixes: 0d17b685b1ff ("gallium/u_tests: add a compute shader test that clears an image")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_tests.c

index 7c4e98402bef8544b2ad08779263e127a7d3c0cd..365d4fa8f171861628ffe78a8340d3c846341df9 100644 (file)
@@ -792,7 +792,6 @@ test_compute_clear_image(struct pipe_context *ctx)
 {
    struct cso_context *cso;
    struct pipe_resource *cb;
-   struct pipe_sampler_view *view = NULL;
    const char *text;
 
    cso = cso_create_context(ctx, 0);