fileio: -Wshadow warning fix

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
__archive__
Øyvind Harboe 2010-06-15 23:01:42 +02:00
parent 00017c90ae
commit 395d3bff8c
1 changed files with 2 additions and 2 deletions

View File

@ -98,12 +98,12 @@ static inline int fileio_open_local(struct fileio *fileio)
return ERROR_OK; 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; int retval = ERROR_OK;
fileio->type = type; fileio->type = type;
fileio->access = access; fileio->access = access_type;
fileio->url = strdup(url); fileio->url = strdup(url);
retval = fileio_open_local(fileio); retval = fileio_open_local(fileio);