svn commit: samba r20454 - in branches/SAMBA_3_0/source/smbd: .

vlendec at samba.org vlendec at samba.org
Mon Jan 1 21:37:02 GMT 2007


Author: vlendec
Date: 2007-01-01 21:37:02 +0000 (Mon, 01 Jan 2007)
New Revision: 20454

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

Log:
Get rid of a bogus variable that was only assigned but never read.

Jeremy, please check this.

Thanks,

Volker

Modified:
   branches/SAMBA_3_0/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/reply.c	2007-01-01 19:35:03 UTC (rev 20453)
+++ branches/SAMBA_3_0/source/smbd/reply.c	2007-01-01 21:37:02 UTC (rev 20454)
@@ -3316,11 +3316,7 @@
 		 * Close ordinary file.
 		 */
 		int close_err;
-		pstring file_name;
 
-		/* Save the name for time set in close. */
-		pstrcpy( file_name, fsp->fsp_name);
-
 		DEBUG(3,("close fd=%d fnum=%d (numopen=%d)\n",
 			 fsp->fh->fd, fsp->fnum,
 			 conn->num_files_open));



More information about the samba-cvs mailing list