summaryrefslogtreecommitdiff
path: root/source4/ntvfs/cifs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-08 11:46:08 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-08 11:52:44 +1000
commit50b16891c4e557d80fd4bfd858660e7331be2d3e (patch)
tree305b9b8e3dec47264b6018cf7a765a6dda533870 /source4/ntvfs/cifs
parente6816715b7563250ce1ce1b0f65d470edcc4130c (diff)
downloadsamba-50b16891c4e557d80fd4bfd858660e7331be2d3e.tar.gz
samba-50b16891c4e557d80fd4bfd858660e7331be2d3e.tar.bz2
samba-50b16891c4e557d80fd4bfd858660e7331be2d3e.zip
s4: fixed some shadowed variable warnings
Diffstat (limited to 'source4/ntvfs/cifs')
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index 1cb6a46615..ffcd5f13e4 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -165,9 +165,9 @@ static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs,
}
if (strncmp(sharename, "\\\\", 2) == 0) {
- char *p = strchr(sharename+2, '\\');
- if (p) {
- sharename = p + 1;
+ char *str = strchr(sharename+2, '\\');
+ if (str) {
+ sharename = str + 1;
}
}