| commit | d56c97413ee65e40e3544b89ffca450df9ba1c06 | [log] [tgz] |
|---|---|---|
| author | Eric Anholt <eric@anholt.net> | Tue Nov 30 13:28:47 2010 -0800 |
| committer | Eric Anholt <eric@anholt.net> | Tue Nov 30 13:29:28 2010 -0800 |
| tree | 27a2c7cb89cae73c4b07b41b98aaa00a86987f0a | |
| parent | b22d65e9fc037b06405c1645a2cd11a70a6a6bc3 [diff] |
glsl: Quiet unreachable no-return-from-function warning.
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 0978100..04b221e 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp
@@ -813,6 +813,8 @@ */ return new(mem_ctx) ir_constant(true); } + + return NULL; } ir_rvalue *