From 395d3bff8ce59d6c5a34e0a626010343ca9909ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 15 Jun 2010 23:01:42 +0200 Subject: [PATCH] fileio: -Wshadow warning fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/helper/fileio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helper/fileio.c b/src/helper/fileio.c index 71e807ff7..ba62397cc 100644 --- a/src/helper/fileio.c +++ b/src/helper/fileio.c @@ -98,12 +98,12 @@ static inline int fileio_open_local(struct fileio *fileio) return ERROR_OK; } -int fileio_open(struct fileio *fileio, const char *url, enum fileio_access access, enum fileio_type type) +int fileio_open(struct fileio *fileio, const char *url, enum fileio_access access_type, enum fileio_type type) { int retval = ERROR_OK; fileio->type = type; - fileio->access = access; + fileio->access = access_type; fileio->url = strdup(url); retval = fileio_open_local(fileio);