summaryrefslogtreecommitdiff
path: root/source4/ntvfs/simple
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-29 11:49:50 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-02 15:33:48 +0200
commit44df2488e30da783add33b4fb85d96ce65856484 (patch)
tree3750f027eb89377d3908e802869cfca5922b237c /source4/ntvfs/simple
parentf390daef475126b4ff5a3d0ffd2babbd87d4c22b (diff)
downloadsamba-44df2488e30da783add33b4fb85d96ce65856484.tar.gz
samba-44df2488e30da783add33b4fb85d96ce65856484.tar.bz2
samba-44df2488e30da783add33b4fb85d96ce65856484.zip
s4: fix various warnings (not "const" related ones)
Diffstat (limited to 'source4/ntvfs/simple')
-rw-r--r--source4/ntvfs/simple/vfs_simple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c
index aabaa3c47f..9577e8673a 100644
--- a/source4/ntvfs/simple/vfs_simple.c
+++ b/source4/ntvfs/simple/vfs_simple.c
@@ -70,9 +70,9 @@ static NTSTATUS svfs_connect(struct ntvfs_module_context *ntvfs,
}
if (strncmp(sharename, "\\\\", 2) == 0) {
- char *p = strchr(sharename+2, '\\');
- if (p) {
- sharename = p + 1;
+ char *p2 = strchr(sharename+2, '\\');
+ if (p2) {
+ sharename = p2 + 1;
}
}