From 78399cf17031ea8fe401769bb92a60b0ac7001ea Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 19 May 2016 12:06:55 -0700 Subject: [PATCH] glsl/linker: Silence unused parameter warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The parameter is required for the interface. glsl/link_uniforms.cpp:689:61: warning: unused parameter ‘record_type’ [-Wunused-parameter] bool row_major, const glsl_type *record_type, ^ Signed-off-by: Ian Romanick Reviewed-by: Timothy Arceri Reviewed-by: Alejandro Piñeiro --- src/compiler/glsl/link_uniforms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp index 92f1095..ff2989f 100644 --- a/src/compiler/glsl/link_uniforms.cpp +++ b/src/compiler/glsl/link_uniforms.cpp @@ -686,7 +686,7 @@ private: } virtual void visit_field(const glsl_type *type, const char *name, - bool row_major, const glsl_type *record_type, + bool row_major, const glsl_type * /* record_type */, const unsigned packing, bool /* last_field */) { -- 2.7.4