[Mesa-dev] [PATCH 1/2] i965: Silence a couple unused parameter warnings
Ian Romanick
idr at freedesktop.org
Tue Jun 10 19:13:07 PDT 2014
From: Ian Romanick <ian.d.romanick at intel.com>
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 at intel.com>
---
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 ee52c07..249072c 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");
}
--
1.8.1.4
More information about the mesa-dev
mailing list