diff options
author | Brian Paul <[email protected]> | 2012-07-16 14:16:08 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-07-16 16:03:31 -0600 |
commit | 2f92a9f721b750f30a445fee4d8c9bd6479f6b04 (patch) | |
tree | c821e4913e6795e5fc5d7aa9bf455be18324105f /src/gallium | |
parent | cf775c9cbf86676aa321eb9665fe38aeba35afc9 (diff) |
r300g: silence uninitialized var warning
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/compiler/radeon_inline_literals.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |