Mesa (master): tgsi: Silence uninitialized variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Jan 28 08:41:29 UTC 2010
Module: Mesa
Branch: master
Commit: 5dcc088bf16c8c4659e5e7c272ab226f0ed95d75
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dcc088bf16c8c4659e5e7c272ab226f0ed95d75
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Jan 28 00:40:43 2010 -0800
tgsi: Silence uninitialized variable warning.
---
src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index ab557a2..b3be3fc 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -579,7 +579,7 @@ decl_immediate( struct ureg_program *ureg,
unsigned type )
{
unsigned i, j;
- unsigned swizzle;
+ unsigned swizzle = 0;
/* Could do a first pass where we examine all existing immediates
* without expanding.
More information about the mesa-commit
mailing list