From: Ian Romanick Date: Wed, 11 Jun 2014 00:50:04 +0000 (-0700) Subject: i965/vec4: Silence a couple unused parameter warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be0452b0499798dcc2a09c600810be88112d0896;p=mesa.git 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 --- 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"); }