svn commit: samba r4864 - in branches/SAMBA_3_0/source/modules: .

jra at samba.org jra at samba.org
Thu Jan 20 01:19:58 GMT 2005


Author: jra
Date: 2005-01-20 01:19:57 +0000 (Thu, 20 Jan 2005)
New Revision: 4864

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4864

Log:
Remove unused var.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/modules/vfs_expand_msdfs.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_expand_msdfs.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_expand_msdfs.c	2005-01-20 00:46:04 UTC (rev 4863)
+++ branches/SAMBA_3_0/source/modules/vfs_expand_msdfs.c	2005-01-20 01:19:57 UTC (rev 4864)
@@ -40,7 +40,7 @@
 {
 	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 @@
 
 	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';



More information about the samba-cvs mailing list