aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-10-08 14:08:50 -0700
committerVinson Lee <[email protected]>2010-10-08 14:08:50 -0700
commit131485efae3e919c2ba619eb087931f402c219f1 (patch)
treee3d5de9711779185e11adafa0decd07bee59a917 /src
parent5e90971475a7057022b63ee032eb4b6adba2d455 (diff)
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src')
-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 86bddccbbbb..fa005379b53 100644
--- a/src/gallium/winsys/r600/drm/r600_hw_context.c
+++ b/src/gallium/winsys/r600/drm/r600_hw_context.c
@@ -67,7 +67,8 @@ static void INLINE r600_context_update_fenced_list(struct r600_context *ctx)
static void INLINE r600_context_fence_wraparound(struct r600_context *ctx, unsigned fence)
{
- struct radeon_bo *bo, *tmp;
+ struct radeon_bo *bo = NULL;
+ struct radeon_bo *tmp;
LIST_FOR_EACH_ENTRY_SAFE(bo, tmp, &ctx->fenced_bo, fencedlist) {
if (bo->fence <= *ctx->cfence) {