From be0452b0499798dcc2a09c600810be88112d0896 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 10 Jun 2014 17:50:04 -0700 Subject: [PATCH] i965/vec4: Silence a couple unused parameter warnings brw_vec4_visitor.cpp:2717:1: warning: unused parameter 'ir' [-Wunused-parameter] brw_vec4_visitor.cpp:2723:1: warning: unused parameter 'ir' [-Wunused-parameter] Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index ee52c076175..249072c64b7 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -2655,13 +2655,13 @@ vec4_visitor::swizzle_result(ir_texture *ir, src_reg orig_val, int sampler) } void -vec4_visitor::visit(ir_return *ir) +vec4_visitor::visit(ir_return *) { assert(!"not reached"); } void -vec4_visitor::visit(ir_discard *ir) +vec4_visitor::visit(ir_discard *) { assert(!"not reached"); } -- 2.30.2