From ee2f7aa03b650c95eda8957abd750e53ede34c33 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 6 Jul 2017 18:45:14 -0700 Subject: glsl: Remove unused private fields Reviewed-by: Jordan Justen --- src/mesa/program/ir_to_mesa.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 0e6a95ce990..7499343a9a3 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2418,7 +2418,7 @@ class add_uniform_to_shader : public program_resource_visitor { public: add_uniform_to_shader(struct gl_shader_program *shader_program, struct gl_program_parameter_list *params) - : shader_program(shader_program), params(params), idx(-1) + : params(params), idx(-1) { /* empty */ } @@ -2437,7 +2437,6 @@ private: const enum glsl_interface_packing packing, bool last_field); - struct gl_shader_program *shader_program; struct gl_program_parameter_list *params; int idx; ir_variable *var; -- cgit v1.2.3