projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22d65e
)
glsl: Quiet unreachable no-return-from-function warning.
author
Eric Anholt
<eric@anholt.net>
Tue, 30 Nov 2010 21:28:47 +0000
(13:28 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 30 Nov 2010 21:29:28 +0000
(13:29 -0800)
src/glsl/ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_to_hir.cpp
b/src/glsl/ast_to_hir.cpp
index 0978100acd94d38557c9b7ab61f8f7f2e78c3fd6..04b221e9b8d9f9cdff7d23bf43806d2002a6dde5 100644
(file)
--- a/
src/glsl/ast_to_hir.cpp
+++ b/
src/glsl/ast_to_hir.cpp
@@
-813,6
+813,8
@@
do_comparison(void *mem_ctx, int operation, ir_rvalue *op0, ir_rvalue *op1)
*/
return new(mem_ctx) ir_constant(true);
}
+
+ return NULL;
}
ir_rvalue *