From e2457bedd389c6799fe99b1e0d6ade36b763c6c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Thu, 9 Apr 2020 10:47:54 +0300 Subject: [PATCH] glsl: remove redudant assignment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit CID: 1461087 Signed-off-by: Tapani Pälli Reviewed-by: Andres Gomez Part-of: --- src/compiler/glsl/ast_to_hir.cpp | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.30.2