From: Kenneth Graunke Date: Thu, 3 Sep 2015 07:55:40 +0000 (-0700) Subject: glsl: Remove unused total_attribs_size variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30e84530a097278c7cf01c0491dba5866510c4c5;p=mesa.git glsl: Remove unused total_attribs_size variable. Accidentally left behind by my previous patch. Signed-off-by: Kenneth Graunke --- diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 01554bc2ad7..59e3e9c38a6 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -2390,7 +2390,6 @@ assign_attribute_or_color_locations(gl_shader_program *prog, } to_assign[16]; unsigned num_attr = 0; - unsigned total_attribs_size = 0; foreach_in_list(ir_instruction, node, sh->ir) { ir_variable *const var = node->as_variable();