[Mesa-dev] [PATCH 1/6] glsl: return visit_stop in ir_validate::visit_enter() to silence warning

Brian Paul brianp at vmware.com
Thu Dec 1 16:45:28 PST 2011


---
 src/glsl/ir_validate.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index a352012..20a0377 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -585,6 +585,7 @@ dump_ir:
    printf("callee:\n");
    callee->print();
    abort();
+   return visit_stop;
 }
 
 void
-- 
1.7.3.4



More information about the mesa-dev mailing list