From: Vinson Lee Date: Thu, 17 Jun 2010 00:56:00 +0000 (-0700) Subject: r300g: Fix uninitialized variable warnings in error path. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=241218845309a0c765b97b7c966a06d60ca9dd57;p=mesa.git r300g: Fix uninitialized variable warnings in error path. --- diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 251e1700565..4639bbbd9b8 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -512,6 +512,8 @@ void r300_emit_rs_state(struct r300_context* r300, unsigned size, void* state) break; default: debug_printf("r300: Bad number of multisamples!\n"); + mspos0 = 0; + mspos1 = 0; break; }