summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-08 20:22:17 -0800
committerVinson Lee <[email protected]>2010-01-08 20:24:05 -0800
commit20d6360db7ca8610e5958cd7f851e664d77684fc (patch)
tree2c0412cddbf962d2ad8d00fc901f7b882d3b9960 /src/gallium/auxiliary/tgsi/tgsi_exec.c
parentde37a00d271fc4ab919c3c715322018c0b76369f (diff)
tgsi: Silence uninitialized variable warnings.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index b7569e74d4b..146000adeb4 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -1209,11 +1209,19 @@ fetch_src_file_channel(
default:
assert( 0 );
+ chan->u[0] = 0;
+ chan->u[1] = 0;
+ chan->u[2] = 0;
+ chan->u[3] = 0;
}
break;
default:
assert( 0 );
+ chan->u[0] = 0;
+ chan->u[1] = 0;
+ chan->u[2] = 0;
+ chan->u[3] = 0;
}
}