From 5f7faff61bc3ebe80f262fac6f58225d8005631b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 4 Apr 2014 19:36:30 +0200 Subject: gallium/radeon: fix warnings --- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/winsys') diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index 7dd5e7f6f75..8242b600ae4 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -864,7 +864,7 @@ static struct pb_buffer *radeon_winsys_bo_from_handle(struct radeon_winsys *rws, struct drm_radeon_gem_busy args; int r; unsigned handle; - uint64_t size; + uint64_t size = 0; /* We must maintain a list of pairs , so that we always return * the same BO for one particular handle. If we didn't do that and created -- cgit v1.2.3