aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_fpc_translate.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-11-16 12:33:58 +0100
committerJakob Bornecrantz <[email protected]>2008-11-16 13:15:14 +0100
commit96ad8a36003a21180ad6b61aa0b7d7c9452b3449 (patch)
tree1ae7620c6a2b140529529dd8da3ea9eb95b287a4 /src/gallium/drivers/i915simple/i915_fpc_translate.c
parent7468765b18be202a64d58b83f6267b6973ea4897 (diff)
i915: Silence warnings
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_fpc_translate.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_fpc_translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_fpc_translate.c b/src/gallium/drivers/i915simple/i915_fpc_translate.c
index 34b4a846c11..43d62c51765 100644
--- a/src/gallium/drivers/i915simple/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915simple/i915_fpc_translate.c
@@ -144,7 +144,7 @@ src_vector(struct i915_fp_compile *p,
const struct tgsi_full_src_register *source)
{
uint index = source->SrcRegister.Index;
- uint src, sem_name, sem_ind;
+ uint src = 0, sem_name, sem_ind;
switch (source->SrcRegister.File) {
case TGSI_FILE_TEMPORARY: