From 8316da7cd20c9538b58b8927cc14f1639b881008 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 13 Apr 2010 00:35:10 -0700 Subject: r300g: Silence uninitialized variable warning. --- src/gallium/drivers/r300/r300_state.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r300') diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index f5ece395532..0cb102359df 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1432,6 +1432,7 @@ static void r300_set_constant_buffer(struct pipe_context *pipe, break; default: assert(0); + cbuf = NULL; } if (buf == NULL || buf->width0 == 0 || -- cgit v1.2.3