r300g: Silence uninitialized variable warning.

Silence this GCC warning.
r300_state_derived.c: In function 'r300_update_derived_state':
r300_state_derived.c:578: warning: 'r' may be used uninitialized in this function
r300_state_derived.c:578: note: 'r' was declared here
This commit is contained in:
Vinson Lee 2010-09-24 19:33:43 -07:00
parent 1acadebd62
commit 5c77b75316
1 changed files with 1 additions and 0 deletions

View File

@ -630,6 +630,7 @@ static uint32_t r300_get_border_color(enum pipe_format format,
((float_to_ubyte(border_swizzled[2]) & 0xf8) << 8);
} else {
assert(0);
r = 0;
}
break;