diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-05-23 02:16:20 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-05-23 02:16:20 +0000 |
commit | f5a2ac95c30b0d4cecc47aeebfb056ec6ac8e511 (patch) | |
tree | 4658194f71e83bc44fcee1debd94533f368dd6f0 /src/mesa/drivers | |
parent | fe9026d04abd0e11799f1369f953f5d7ce053a54 (diff) |
init mask=0 to silence warning
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c index db509059dd..e045f0c6a1 100644 --- a/src/mesa/drivers/dri/r300/r300_fragprog.c +++ b/src/mesa/drivers/dri/r300/r300_fragprog.c @@ -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"); |