Mesa (glsl2): glsl2: Fix warning from always-false assert not being known to not return.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Jul 19 01:13:53 UTC 2010
Module: Mesa
Branch: glsl2
Commit: 87a2ee8db6222006480bd0e0ac58b77795c5d951
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=87a2ee8db6222006480bd0e0ac58b77795c5d951
Author: Eric Anholt <eric at anholt.net>
Date: Sun Jul 18 17:47:15 2010 -0700
glsl2: Fix warning from always-false assert not being known to not return.
---
src/glsl/glsl_parser_extras.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index fc3f9e9..cb7b6d3 100644
--- 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";
}
More information about the mesa-commit
mailing list