From 1b28c8d77aefc6c821511eea3a789f3e1684be9a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 12 Mar 2014 16:54:17 -0700 Subject: [PATCH] mesa: Clean up "unused parameter" warnings program/ir_to_mesa.cpp:2008:1: warning: unused parameter 'ir' [-Wunused-parameter] program/ir_to_mesa.cpp:2272:1: warning: unused parameter 'ir' [-Wunused-parameter] program/ir_to_mesa.cpp:2278:1: warning: unused parameter 'ir' [-Wunused-parameter] Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/program/ir_to_mesa.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 1ba9e432965..0923357b1bb 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1963,7 +1963,7 @@ ir_to_mesa_visitor::visit(ir_constant *ir) } void -ir_to_mesa_visitor::visit(ir_call *ir) +ir_to_mesa_visitor::visit(ir_call *) { assert(!"ir_to_mesa: All function calls should have been inlined by now."); } @@ -2227,13 +2227,13 @@ ir_to_mesa_visitor::visit(ir_if *ir) } void -ir_to_mesa_visitor::visit(ir_emit_vertex *ir) +ir_to_mesa_visitor::visit(ir_emit_vertex *) { assert(!"Geometry shaders not supported."); } void -ir_to_mesa_visitor::visit(ir_end_primitive *ir) +ir_to_mesa_visitor::visit(ir_end_primitive *) { assert(!"Geometry shaders not supported."); } -- 2.30.2