From: José Fonseca Date: Sat, 14 Aug 2010 13:40:39 +0000 (+0100) Subject: glsl: Silence gcc warning "control reaches end of non-void function". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b1721eaf35ccb60d90850ab34a99d6ab1f89a05;p=mesa.git glsl: Silence gcc warning "control reaches end of non-void function". --- diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index a72609601ae..0a9e25a295a 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -335,7 +335,7 @@ ir_constant::clone(void *mem_ctx, struct hash_table *ht) const } default: - assert(!"Should not get here."); break; + assert(!"Should not get here."); return NULL; } }