From 9ab7a2df030fe3eb7b82a99d9f17093c0036bc06 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Fri, 23 May 2008 00:16:49 -0700 Subject: [PATCH] r5xx: Clean up some compiler warnings. --- src/mesa/drivers/dri/r300/r500_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2