[Spice-devel] [Warning cleanup 4/4] Rename local parameter 'access' to avoid a conflict; solves a gcc -Wshadow warning.
Jeremy White
jwhite at codeweavers.com
Mon Aug 6 13:37:33 PDT 2012
---
src/qxl_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index bef03df..cceb029 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -779,10 +779,10 @@ unaccel (void)
}
static Bool
-qxl_prepare_access (PixmapPtr pixmap, RegionPtr region, uxa_access_t access)
+qxl_prepare_access (PixmapPtr pixmap, RegionPtr region, uxa_access_t requested_access)
{
return qxl_surface_prepare_access (get_surface (pixmap),
- pixmap, region, access);
+ pixmap, region, requested_access);
}
static void
--
1.7.10.4
More information about the Spice-devel
mailing list