Module: Mesa
Branch: glsl2
Commit: 19acfa42ed47edb63f5ec3de8051a3102e62e96b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=19acfa42ed47edb63f5ec3de8051a3102e62e96b

Author: José Fonseca <[email protected]>
Date:   Sat Aug 14 14:40:06 2010 +0100

mesa: Silence gcc warning "control reaches end of non-void function".

---

 src/mesa/program/ir_to_mesa.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index cf1fb91..2208bc1 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -526,6 +526,7 @@ type_size(const struct glsl_type *type)
       return 0;
    default:
       assert(0);
+      return 0;
    }
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to