From: Brian Paul Date: Fri, 27 Feb 2015 20:04:18 +0000 (-0700) Subject: meta: silence uninitialized variable warnings for MinGW X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=544f56b75a58baf4cfadb646b0a21939a67c0113;p=mesa.git meta: silence uninitialized variable warnings for MinGW Reviewed-by: Anuj Phogat --- diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c index 971a2ff1deb..bb2164276b2 100644 --- a/src/mesa/drivers/common/meta_blit.c +++ b/src/mesa/drivers/common/meta_blit.c @@ -133,6 +133,8 @@ setup_glsl_msaa_blit_scaled_shader(struct gl_context *ctx, sample_map = ctx->Const.SampleMap8x; break; default: + sample_number = NULL; + sample_map = NULL; _mesa_problem(ctx, "Unsupported sample count %d\n", samples); unreachable("Unsupported sample count"); }