From 74dd9f1186b388f884c0c6c56e3fabf618520f67 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 20 Jan 2005 01:19:57 +0000 Subject: r4864: Remove unused var. Jeremy. (This used to be commit 9fd5d633e65e00a44ba0136ee91170edcecfae24) --- source3/modules/vfs_expand_msdfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules') 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'; -- cgit