projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19acfa4
)
glsl: Silence gcc warning "control reaches end of non-void function".
author
José Fonseca
<jfonseca@vmware.com>
Sat, 14 Aug 2010 13:40:39 +0000
(14:40 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 14 Aug 2010 13:40:39 +0000
(14:40 +0100)
src/glsl/ir_clone.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_clone.cpp
b/src/glsl/ir_clone.cpp
index a72609601ae1c17c2245574c7ba0f875203158ff..0a9e25a295a3815f4e270bfef9a5f75bd48cbb8c 100644
(file)
--- 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;
}
}