From: Marek Olšák Date: Mon, 8 Oct 2012 23:11:56 +0000 (+0200) Subject: softpipe: initialize quadColor2 to fix compile warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd3219962de473fb426a00fa6a3256f1efc1f24c;p=mesa.git softpipe: initialize quadColor2 to fix compile warnings --- diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index 5db787ba91a..aba6730da05 100644 --- a/src/gallium/drivers/softpipe/sp_quad_blend.c +++ b/src/gallium/drivers/softpipe/sp_quad_blend.c @@ -949,7 +949,7 @@ blend_fallback(struct quad_stage *qs, for (q = 0; q < nr; q++) { struct quad_header *quad = quads[q]; float (*quadColor)[4]; - float (*quadColor2)[4]; + float (*quadColor2)[4] = NULL; float temp_quad_color[TGSI_QUAD_SIZE][4]; const int itx = (quad->input.x0 & (TILE_SIZE-1)); const int ity = (quad->input.y0 & (TILE_SIZE-1));