diff options
author | Eric Anholt <eric@anholt.net> | 2010-07-18 17:47:15 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-18 17:49:15 -0700 |
commit | 87a2ee8db6222006480bd0e0ac58b77795c5d951 (patch) | |
tree | 2459089437c48cfc265e68f1bdae45a23a4a32e5 | |
parent | 17a307d154489d718ab51a6272d2054868d782f6 (diff) |
glsl2: Fix warning from always-false assert not being known to not return.
-rw-r--r-- | 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 fc3f9e90b6..cb7b6d36a2 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"; } |