summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-01-20 01:19:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:54:00 -0500
commit74dd9f1186b388f884c0c6c56e3fabf618520f67 (patch)
treee6ffac5414a84ad8433a6a19a39ff2d37d21ebd4 /source3
parent811df6699c76a2d6f7561efc27c1bdfa0a8d5c4d (diff)
downloadsamba-74dd9f1186b388f884c0c6c56e3fabf618520f67.tar.gz
samba-74dd9f1186b388f884c0c6c56e3fabf618520f67.tar.bz2
samba-74dd9f1186b388f884c0c6c56e3fabf618520f67.zip
r4864: Remove unused var.
Jeremy. (This used to be commit 9fd5d633e65e00a44ba0136ee91170edcecfae24)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_expand_msdfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c
index 07fbe59825..d22f6a7f98 100644
--- a/source3/modules/vfs_expand_msdfs.c
+++ b/source3/modules/vfs_expand_msdfs.c
@@ -40,7 +40,7 @@ static BOOL read_target_host(const char *mapfile, pstring targethost)
{
XFILE *f;
pstring buf;
- char *s, *space = buf;
+ char *space = buf;
BOOL found = False;
f = x_fopen(mapfile, O_RDONLY, 0);
@@ -53,7 +53,7 @@ static BOOL read_target_host(const char *mapfile, pstring targethost)
DEBUG(10, ("Scanning mapfile [%s]\n", mapfile));
- while ((s=x_fgets(buf, sizeof(buf), f)) != NULL) {
+ while (x_fgets(buf, sizeof(buf), f) != NULL) {
if ((strlen(buf) > 0) && (buf[strlen(buf)-1] == '\n'))
buf[strlen(buf)-1] = '\0';