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:
parent
e667802a7c
commit
e2457bedd3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue