From 2f92a9f721b750f30a445fee4d8c9bd6479f6b04 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jul 2012 14:16:08 -0600 Subject: [PATCH] r300g: silence uninitialized var warning --- src/gallium/drivers/r300/compiler/radeon_inline_literals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2