aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-08-14 14:40:39 +0100
committerJosé Fonseca <[email protected]>2010-08-14 14:40:39 +0100
commit4b1721eaf35ccb60d90850ab34a99d6ab1f89a05 (patch)
treee457dce16417ddcfd2cc75525a09dc48a405a629
parent19acfa42ed47edb63f5ec3de8051a3102e62e96b (diff)
glsl: Silence gcc warning "control reaches end of non-void function".
-rw-r--r--src/glsl/ir_clone.cpp2
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;
}
}