[Mesa-dev] [PATCH 14/19] glsl: Silence unused parameter warning in propagate_invariance.cpp
Ian Romanick
idr at freedesktop.org
Fri Dec 16 04:10:26 UTC 2016
From: Ian Romanick <ian.d.romanick at intel.com>
glsl/propagate_invariance.cpp: In member function ‘virtual ir_visitor_status {anonymous}::ir_invariance_propagation_visitor::visit_leave(ir_assignment*)’:
glsl/propagate_invariance.cpp:86:63: warning: unused parameter ‘ir’ [-Wunused-parameter]
ir_invariance_propagation_visitor::visit_leave(ir_assignment *ir)
^~
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/compiler/glsl/propagate_invariance.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/propagate_invariance.cpp b/src/compiler/glsl/propagate_invariance.cpp
index b834b49..b3f1d81 100644
--- a/src/compiler/glsl/propagate_invariance.cpp
+++ b/src/compiler/glsl/propagate_invariance.cpp
@@ -83,7 +83,7 @@ ir_invariance_propagation_visitor::visit_enter(ir_assignment *ir)
}
ir_visitor_status
-ir_invariance_propagation_visitor::visit_leave(ir_assignment *ir)
+ir_invariance_propagation_visitor::visit_leave(ir_assignment *)
{
this->dst_var = NULL;
--
2.7.4
More information about the mesa-dev
mailing list