From: Brian Paul Date: Mon, 16 Jul 2012 20:16:08 +0000 (-0600) Subject: r300g: silence uninitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f92a9f721b750f30a445fee4d8c9bd6479f6b04;p=mesa.git r300g: silence uninitialized var warning --- diff --git a/src/gallium/drivers/r300/compiler/radeon_inline_literals.c b/src/gallium/drivers/r300/compiler/radeon_inline_literals.c index 568a3d60e14..54f6d677026 100644 --- a/src/gallium/drivers/r300/compiler/radeon_inline_literals.c +++ b/src/gallium/drivers/r300/compiler/radeon_inline_literals.c @@ -71,7 +71,7 @@ void rc_inline_literals(struct radeon_compiler *c, void *user) unsigned src_idx; struct rc_constant * constant; float float_value; - unsigned char r300_float; + unsigned char r300_float = 0; int ret; /* XXX: Handle presub */