From: Vinson Lee Date: Sat, 25 Sep 2010 22:19:29 +0000 (-0700) Subject: r600g: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=048bda175b07d48cd8660eb43b37af5ac8a732d2;p=mesa.git r600g: Remove unused variable. Fixes this GCC warning. radeon_bo_pb.c: In function 'radeon_bo_pb_create_buffer': radeon_bo_pb.c:178: warning: unused variable 'domain' --- diff --git a/src/gallium/winsys/r600/drm/radeon_bo_pb.c b/src/gallium/winsys/r600/drm/radeon_bo_pb.c index 897938c2caf..aac3d7b6049 100644 --- a/src/gallium/winsys/r600/drm/radeon_bo_pb.c +++ b/src/gallium/winsys/r600/drm/radeon_bo_pb.c @@ -175,7 +175,6 @@ radeon_bo_pb_create_buffer(struct pb_manager *_mgr, struct radeon_bo_pbmgr *mgr = radeon_bo_pbmgr(_mgr); struct radeon *radeon = mgr->radeon; struct radeon_bo_pb *bo; - uint32_t domain; bo = CALLOC_STRUCT(radeon_bo_pb); if (!bo)