mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 09:10:11 +01:00
glsl: silence warning about unhandled ast_unsized_array_dim case in switch
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
This commit is contained in:
parent
afff809fea
commit
cb473c46fe
1 changed files with 3 additions and 0 deletions
|
|
@ -2017,6 +2017,9 @@ ast_expression::has_sequence_subexpression() const
|
||||||
|
|
||||||
case ast_function_call:
|
case ast_function_call:
|
||||||
unreachable("should be handled by ast_function_expression::hir");
|
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;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue