From 2e07b3b918e1f356a63e330d0b31e238686282bf Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 24 Apr 2019 16:03:11 +0200 Subject: [PATCH] shader: remove unused variable This buffer was introduced, but never used. Fixes a warning. While we're at it, fixup the lack of EOL at EOF. Signed-off-by: Erik Faye-Lund Fixes: 75f2191 ("shader: Don't emit gl_FragCoord layout qualifier on GLES and emulate pixel_center_integer") Reviewed-By: --- src/vrend_shader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vrend_shader.c b/src/vrend_shader.c index a17df8f..2e93fab 100644 --- a/src/vrend_shader.c +++ b/src/vrend_shader.c @@ -813,7 +813,6 @@ iter_declaration(struct tgsi_iterate_context *iter, struct dump_ctx *ctx = (struct dump_ctx *)iter; int i; int color_offset = 0; - char name_prefix_buf[64]; const char *name_prefix = ""; bool add_two_side = false; unsigned mask_temp; @@ -6717,4 +6716,4 @@ fail: free(ctx.so_names); free(ctx.temp_ranges); return false; -} \ No newline at end of file +}