diff options
author | José Fonseca <[email protected]> | 2010-08-14 14:40:39 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-14 14:40:39 +0100 |
commit | 4b1721eaf35ccb60d90850ab34a99d6ab1f89a05 (patch) | |
tree | e457dce16417ddcfd2cc75525a09dc48a405a629 /src/glsl | |
parent | 19acfa42ed47edb63f5ec3de8051a3102e62e96b (diff) |
glsl: Silence gcc warning "control reaches end of non-void function".
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir_clone.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |