diff options
author | Brian Paul <[email protected]> | 2015-02-27 13:06:06 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-27 15:22:25 -0700 |
commit | 667dac9d40760822e0e4be750c3a18fe56ec4b40 (patch) | |
tree | bf7796482c1facbd2bb05d6f9c91cd288a535598 /src | |
parent | bf8d049488eb0a693712281f0ff5adb3d56d2340 (diff) |
glsl: silence uninitialized var warning on MinGW
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/opt_algebraic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_algebraic.cpp b/src/glsl/opt_algebraic.cpp index c3f3842bab3..c6040bff825 100644 --- a/src/glsl/opt_algebraic.cpp +++ b/src/glsl/opt_algebraic.cpp @@ -866,6 +866,7 @@ ir_algebraic_visitor::handle_expression(ir_expression *ir) one = new(mem_ctx) ir_constant(1.0, op2_components); break; default: + one = NULL; unreachable("unexpected type"); } |