projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e90971
)
r600g: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 21:08:50 +0000
(14:08 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 21:08:50 +0000
(14:08 -0700)
src/gallium/winsys/r600/drm/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_hw_context.c
b/src/gallium/winsys/r600/drm/r600_hw_context.c
index 86bddccbbbb798102f03209c4e3a277b2e099d9c..fa005379b53f96437f77334969f167220bb679e5 100644
(file)
--- 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) {