From: Corbin Simpson Date: Fri, 23 May 2008 07:16:49 +0000 (-0700) Subject: r5xx: Clean up some compiler warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ab7a2df030fe3eb7b82a99d9f17093c0036bc06;p=mesa.git r5xx: Clean up some compiler warnings. --- diff --git a/src/mesa/drivers/dri/r300/r500_fragprog.c b/src/mesa/drivers/dri/r300/r500_fragprog.c index e6d684ee46d..061f53a697d 100644 --- a/src/mesa/drivers/dri/r300/r500_fragprog.c +++ b/src/mesa/drivers/dri/r300/r500_fragprog.c @@ -353,7 +353,7 @@ static GLboolean parse_program(struct r500_fragment_program *fp) struct gl_fragment_program *mp = &fp->mesa_program; const struct prog_instruction *inst = mp->Base.Instructions; struct prog_instruction *fpi; - GLuint src[3], dest, temp[2]; + GLuint src[3], dest = 0; int temp_swiz, pixel_mask = 0, output_mask = 0, counter = 0; if (!inst || inst[0].Opcode == OPCODE_END) {