From: Ian Romanick Date: Thu, 19 May 2016 19:06:55 +0000 (-0700) Subject: glsl/linker: Silence unused parameter warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78399cf17031ea8fe401769bb92a60b0ac7001ea;p=mesa.git glsl/linker: Silence unused parameter warning 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 --- diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp index 92f10958490..ff2989f8cff 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 */) {