Mesa (master): glsl: Mark path as unreachable.
Matt Turner
mattst88 at kemper.freedesktop.org
Sat Apr 11 17:23:11 UTC 2015
Module: Mesa
Branch: master
Commit: 8e414cbdec76ce33a16425631ac87cb4ba827409
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e414cbdec76ce33a16425631ac87cb4ba827409
Author: Matt Turner <mattst88 at gmail.com>
Date: Sat Apr 11 10:11:13 2015 -0700
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 918be69..36a0d19 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 *
More information about the mesa-commit
mailing list