From: Keith Whitwell Date: Wed, 19 Aug 2009 11:00:24 +0000 (+0100) Subject: tgsi: silence compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65079afcde1be96d980b56e86bdd023d8e5a338b;p=mesa.git tgsi: silence compiler warning --- 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.