From: Tapani Pälli Date: Thu, 9 Apr 2020 07:47:54 +0000 (+0300) Subject: glsl: remove redudant assignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2457bedd389c6799fe99b1e0d6ade36b763c6c3;p=mesa.git glsl: remove redudant assignment CID: 1461087 Signed-off-by: Tapani Pälli Reviewed-by: Andres Gomez Part-of: --- diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index a66ed5ec52b..b5b0a509ea1 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -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; }