diff options
author | Eric Anholt <[email protected]> | 2010-11-30 13:28:47 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-11-30 13:29:28 -0800 |
commit | d56c97413ee65e40e3544b89ffca450df9ba1c06 (patch) | |
tree | 27a2c7cb89cae73c4b07b41b98aaa00a86987f0a /src/glsl | |
parent | b22d65e9fc037b06405c1645a2cd11a70a6a6bc3 (diff) |
glsl: Quiet unreachable no-return-from-function warning.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ast_to_hir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 0978100acd9..04b221e9b8d 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -813,6 +813,8 @@ do_comparison(void *mem_ctx, int operation, ir_rvalue *op0, ir_rvalue *op1) */ return new(mem_ctx) ir_constant(true); } + + return NULL; } ir_rvalue * |