From a75da2c0e85eb6b8279ec895c3f74cc4aefc0257 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 20 Oct 2010 14:59:40 -0700 Subject: glsl: Remove useless ir_shader enumeration value. --- src/glsl/ast_to_hir.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/glsl/ast_to_hir.cpp') diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index af301e535e..15e1afc4dd 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -1785,11 +1785,7 @@ apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual, string = "output"; } break; - - case ir_shader: - assert(!"Should not get here."); - break; - } + }; if (fail) { _mesa_glsl_error(loc, state, -- cgit v1.2.3