glsl2: Fix warning from always-false assert not being known to not return.
authorEric Anholt <eric@anholt.net>
Mon, 19 Jul 2010 00:47:15 +0000 (17:47 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 19 Jul 2010 00:49:15 +0000 (17:49 -0700)
src/glsl/glsl_parser_extras.cpp

index fc3f9e90b6be810c1b55406ebf37bcac3fad57e3..cb7b6d36a2d883be5d7deb5524ad80b1ab3e004a 100644 (file)
@@ -45,6 +45,7 @@ _mesa_glsl_shader_target_name(enum _mesa_glsl_parser_targets target)
    }
 
    assert(!"Should not get here.");
+   return "unknown";
 }