projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da4694
)
r600g: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:21:32 +0000
(14:21 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:21:32 +0000
(14:21 -0700)
src/gallium/winsys/r600/drm/radeon_bo_pb.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/radeon_bo_pb.c
b/src/gallium/winsys/r600/drm/radeon_bo_pb.c
index 6cc0f930335969c0cec81e5a111d3e7cf2ec9978..65ba96233d5e6b6ae00be4984e2fd5a0bfb5421e 100644
(file)
--- a/
src/gallium/winsys/r600/drm/radeon_bo_pb.c
+++ b/
src/gallium/winsys/r600/drm/radeon_bo_pb.c
@@
-218,7
+218,8
@@
struct pb_manager *radeon_bo_pbmgr_create(struct radeon *radeon)
void radeon_bo_pbmgr_flush_maps(struct pb_manager *_mgr)
{
struct radeon_bo_pbmgr *mgr = radeon_bo_pbmgr(_mgr);
- struct radeon_bo_pb *rpb, *t_rpb;
+ struct radeon_bo_pb *rpb = NULL;
+ struct radeon_bo_pb *t_rpb;
LIST_FOR_EACH_ENTRY_SAFE(rpb, t_rpb, &mgr->buffer_map_list, maplist) {
radeon_bo_unmap(mgr->radeon, rpb->bo);