summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600/drm
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-10-08 14:17:14 -0700
committerVinson Lee <[email protected]>2010-10-08 14:17:14 -0700
commit3b16c591a4b0b8477874290bbe19333f9524b8c2 (patch)
treecd8549673c4065151bb9121b219ee6268bcb32ab /src/gallium/winsys/r600/drm
parent36b65a373adc88650e4a2ad8d99642a569b7662a (diff)
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/winsys/r600/drm')
-rw-r--r--src/gallium/winsys/r600/drm/evergreen_hw_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/evergreen_hw_context.c b/src/gallium/winsys/r600/drm/evergreen_hw_context.c
index 9b39c0c4f01..7f21b53ace0 100644
--- a/src/gallium/winsys/r600/drm/evergreen_hw_context.c
+++ b/src/gallium/winsys/r600/drm/evergreen_hw_context.c
@@ -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;