summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_fragprog.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-03-11 19:22:02 +0100
committerPatrice Mandin <[email protected]>2008-03-11 19:58:16 +0100
commit169912b71a4242389301890ef303046d49ce71df (patch)
tree985a6591b7e204ebdfb01ac25c4e000d48fac404 /src/gallium/drivers/nv30/nv30_fragprog.c
parentcd9ed05aec9d1d9614973165fd13647ba2e1b8c7 (diff)
nv30: silence some warnings
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_fragprog.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragprog.c b/src/gallium/drivers/nv30/nv30_fragprog.c
index 09ad555c324..0a2ba04f958 100644
--- a/src/gallium/drivers/nv30/nv30_fragprog.c
+++ b/src/gallium/drivers/nv30/nv30_fragprog.c
@@ -378,7 +378,7 @@ nv30_fragprog_parse_instruction(struct nv30_fpc *fpc,
{
const struct nv30_sreg none = nv30_sr(NV30SR_NONE, 0);
struct nv30_sreg src[3], dst, tmp;
- int mask, sat, unit;
+ int mask, sat, unit = 0;
int ai = -1, ci = -1;
int i;