summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-03-12 16:54:17 -0700
committerIan Romanick <[email protected]>2014-03-28 10:57:55 -0700
commit1b28c8d77aefc6c821511eea3a789f3e1684be9a (patch)
tree46b9a29c18ce58c27448d7837b7e114f7e114440
parent1bdf65f743f071d8f6aae487092b3cb79da17567 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/program/ir_to_mesa.cpp6
1 files 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.");
}