From 667dac9d40760822e0e4be750c3a18fe56ec4b40 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 27 Feb 2015 13:06:06 -0700 Subject: [PATCH] glsl: silence uninitialized var warning on MinGW Reviewed-by: Anuj Phogat --- src/glsl/opt_algebraic.cpp | 1 + 1 file changed, 1 insertion(+) 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"); } -- 2.30.2