From: Brian Paul Date: Thu, 15 Oct 2015 13:26:49 +0000 (-0600) Subject: glsl: silence warning about unhandled ast_unsized_array_dim case in switch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb473c46feb17d652f69836bf0d8843803fe77cd;p=mesa.git glsl: silence warning about unhandled ast_unsized_array_dim case in switch Reviewed-by: Timothy Arceri --- diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index cd40fe343e3..ede02d94cb2 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -2017,6 +2017,9 @@ ast_expression::has_sequence_subexpression() const case ast_function_call: unreachable("should be handled by ast_function_expression::hir"); + + case ast_unsized_array_dim: + unreachable("ast_unsized_array_dim: Should never get here."); } return false;