From 65079afcde1be96d980b56e86bdd023d8e5a338b Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 19 Aug 2009 12:00:24 +0100 Subject: [PATCH] tgsi: silence compiler warning --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 2121f4d77cf..bbe06bfd7c6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -393,7 +393,7 @@ struct ureg_src ureg_DECL_immediate( struct ureg_program *ureg, unsigned nr ) { unsigned i; - unsigned swizzle; + unsigned swizzle = 0; /* Could do a first pass where we examine all existing immediates * without expanding. -- 2.30.2