summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-07-18 17:47:15 -0700
committerEric Anholt <[email protected]>2010-07-18 17:49:15 -0700
commit87a2ee8db6222006480bd0e0ac58b77795c5d951 (patch)
tree2459089437c48cfc265e68f1bdae45a23a4a32e5 /src/glsl
parent17a307d154489d718ab51a6272d2054868d782f6 (diff)
glsl2: Fix warning from always-false assert not being known to not return.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/glsl_parser_extras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index fc3f9e90b6b..cb7b6d36a2d 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";
}