[Spice-devel,warning,reduction,03/11] Rename local parameter 'access' to avoid a conflict; solves a gcc -Wshadow warning.

Submitted by Jeremy White on Sept. 9, 2012, 11 p.m.

Details

Message ID 504D1F7A.3060109@codeweavers.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Jeremy White Sept. 9, 2012, 11 p.m.
---
 src/qxl_driver.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index f543680..8e19bb8 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1232,10 +1232,10 @@  int uxa_pixmap_index;
 #endif
 
 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