diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-08-14 14:40:06 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-08-14 14:40:06 +0100 |
commit | 19acfa42ed47edb63f5ec3de8051a3102e62e96b (patch) | |
tree | 926e3a2206a2fc50aad3f461458ae1ebadfa6064 /src/mesa | |
parent | 325aa1b3cd3fa2dcfc936d2024a4493c06f3b3f4 (diff) |
mesa: Silence gcc warning "control reaches end of non-void function".
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 cf1fb91a70..2208bc1ce8 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; } } |