From: Eric Anholt Date: Mon, 19 Jul 2010 00:47:15 +0000 (-0700) Subject: glsl2: Fix warning from always-false assert not being known to not return. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87a2ee8db6222006480bd0e0ac58b77795c5d951;p=mesa.git glsl2: Fix warning from always-false assert not being known to not return. --- 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"; }