From: Vinson Lee Date: Thu, 28 Jan 2010 08:40:43 +0000 (-0800) Subject: tgsi: Silence uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5dcc088bf16c8c4659e5e7c272ab226f0ed95d75;p=mesa.git tgsi: Silence uninitialized variable warning. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index ab557a23f94..b3be3fc412f 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.