meta: silence uninitialized variable warnings for MinGW
authorBrian Paul <brianp@vmware.com>
Fri, 27 Feb 2015 20:04:18 +0000 (13:04 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 27 Feb 2015 22:22:24 +0000 (15:22 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/common/meta_blit.c

index 971a2ff1debdaf45a7e5f7859775f693f61400c7..bb2164276b2c98f63018ab7bdf0425cd9124ae7e 100644 (file)
@@ -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");
    }