mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
init mask=0 to silence warning
This commit is contained in:
parent
fe9026d04a
commit
f5a2ac95c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1039,7 +1039,7 @@ static GLboolean parse_program(struct r300_fragment_program *rp)
|
||||||
const struct prog_instruction *inst = mp->Base.Instructions;
|
const struct prog_instruction *inst = mp->Base.Instructions;
|
||||||
struct prog_instruction *fpi;
|
struct prog_instruction *fpi;
|
||||||
pfs_reg_t src[3], dest, temp;
|
pfs_reg_t src[3], dest, temp;
|
||||||
int flags, mask;
|
int flags, mask = 0;
|
||||||
|
|
||||||
if (!inst || inst[0].Opcode == OPCODE_END) {
|
if (!inst || inst[0].Opcode == OPCODE_END) {
|
||||||
ERROR("empty program?\n");
|
ERROR("empty program?\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue