projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a307d
)
glsl2: Fix warning from always-false assert not being known to not return.
author
Eric Anholt
<eric@anholt.net>
Mon, 19 Jul 2010 00:47:15 +0000
(17:47 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 19 Jul 2010 00:49:15 +0000
(17:49 -0700)
src/glsl/glsl_parser_extras.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_parser_extras.cpp
b/src/glsl/glsl_parser_extras.cpp
index fc3f9e90b6be810c1b55406ebf37bcac3fad57e3..cb7b6d36a2d883be5d7deb5524ad80b1ab3e004a 100644
(file)
--- a/
src/glsl/glsl_parser_extras.cpp
+++ b/
src/glsl/glsl_parser_extras.cpp
@@
-45,6
+45,7
@@
_mesa_glsl_shader_target_name(enum _mesa_glsl_parser_targets target)
}
assert(!"Should not get here.");
+ return "unknown";
}