From 8e414cbdec76ce33a16425631ac87cb4ba827409 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 11 Apr 2015 10:11:13 -0700 Subject: [PATCH] glsl: Mark path as unreachable. --- src/glsl/ast_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp index 918be6966d5..36a0d193d9e 100644 --- a/src/glsl/ast_function.cpp +++ b/src/glsl/ast_function.cpp @@ -1791,7 +1791,7 @@ ast_function_expression::hir(exec_list *instructions, return value; } - return ir_rvalue::error_value(ctx); + unreachable("not reached"); } ir_rvalue * -- 2.30.2