r600g: Silence uninitialized variable warning.

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

View File

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