summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-10-08 14:14:16 -0700
committerVinson Lee <vlee@vmware.com>2010-10-08 14:14:16 -0700
commit36b65a373adc88650e4a2ad8d99642a569b7662a (patch)
tree780f908be3f8b4cc6426eae77a8523e6ea239b7f /src/gallium/winsys
parent131485efae3e919c2ba619eb087931f402c219f1 (diff)
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/r600/drm/r600_hw_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c
index fa005379b5..2521ff9647 100644
--- a/src/gallium/winsys/r600/drm/r600_hw_context.c
+++ b/src/gallium/winsys/r600/drm/r600_hw_context.c
@@ -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;