mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue