From: José Fonseca Date: Sat, 14 Aug 2010 13:40:06 +0000 (+0100) Subject: mesa: Silence gcc warning "control reaches end of non-void function". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19acfa42ed47edb63f5ec3de8051a3102e62e96b;p=mesa.git mesa: Silence gcc warning "control reaches end of non-void function". --- diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index cf1fb91a70b..2208bc1ce81 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; } }