r600g: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee 2010-10-08 14:14:16 -07:00
parent 131485efae
commit 36b65a373a
1 changed files with 2 additions and 1 deletions

View File

@ -968,7 +968,8 @@ void r600_context_draw(struct r600_context *ctx, const struct r600_draw *draw)
struct r600_bo *cb[8];
struct r600_bo *db;
unsigned ndwords = 9;
struct r600_block *dirty_block, *next_block;
struct r600_block *dirty_block = NULL;
struct r600_block *next_block;
if (draw->indices) {
ndwords = 13;