i965/vec4: Silence a couple unused parameter warnings
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 11 Jun 2014 00:50:04 +0000 (17:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 11 Jun 2014 19:00:20 +0000 (12:00 -0700)
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 <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp

index ee52c0761758bdf2bebd78719541a809a0403d48..249072c64b73ed90a3cbfda35a8dfcce90fcca34 100644 (file)
@@ -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");
 }