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 db509059dd705cf00bbe6fea6dd9c8b7228e5556..e045f0c6a1ed1063cead679f0c35e6a599ff64a2 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");