init mask=0 to silence warning
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 23 May 2006 02:16:20 +0000 (02:16 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 23 May 2006 02:16:20 +0000 (02:16 +0000)
src/mesa/drivers/dri/r300/r300_fragprog.c

index db50905..e045f0c 100644 (file)
@@ -1039,7 +1039,7 @@ static GLboolean parse_program(struct r300_fragment_program *rp)
        const struct prog_instruction *inst = mp->Base.Instructions;
        struct prog_instruction *fpi;
        pfs_reg_t src[3], dest, temp;
-       int flags, mask;
+       int flags, mask = 0;
 
        if (!inst || inst[0].Opcode == OPCODE_END) {
                ERROR("empty program?\n");