r5xx: Clean up some compiler warnings.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 23 May 2008 07:16:49 +0000 (00:16 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 23 May 2008 07:18:14 +0000 (00:18 -0700)
src/mesa/drivers/dri/r300/r500_fragprog.c

index e6d684ee46ddb47eff57fccf214245d413f082cb..061f53a697da3d7bb78a2c45d0d5425a2c81d0df 100644 (file)
@@ -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) {