glsl: remove redudant assignment

CID: 1461087
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4500>
This commit is contained in:
Tapani Pälli 2020-04-09 10:47:54 +03:00
parent e667802a7c
commit e2457bedd3
1 changed files with 0 additions and 1 deletions

View File

@ -1690,7 +1690,6 @@ ast_expression::do_hir(exec_list *instructions,
/* Break out if operand types were not parsed successfully. */
if ((op[0]->type == glsl_type::error_type ||
op[1]->type == glsl_type::error_type)) {
type = glsl_type::error_type;
error_emitted = true;
break;
}