svn commit: samba r4854 - in trunk/source/modules: .

jra at samba.org jra at samba.org
Wed Jan 19 19:57:14 GMT 2005


Author: jra
Date: 2005-01-19 19:57:14 +0000 (Wed, 19 Jan 2005)
New Revision: 4854

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

Log:
Fix #2252, unused var.
Jeremy.

Modified:
   trunk/source/modules/vfs_expand_msdfs.c


Changeset:
Modified: trunk/source/modules/vfs_expand_msdfs.c
===================================================================
--- trunk/source/modules/vfs_expand_msdfs.c	2005-01-19 18:39:52 UTC (rev 4853)
+++ trunk/source/modules/vfs_expand_msdfs.c	2005-01-19 19:57:14 UTC (rev 4854)
@@ -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