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

jerry at samba.org jerry at samba.org
Tue May 29 14:53:14 GMT 2007


Author: jerry
Date: 2007-05-29 14:53:13 +0000 (Tue, 29 May 2007)
New Revision: 23206

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

Log:
remove unreachable code
Modified:
   branches/SAMBA_3_0/source/smbd/nttrans.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/nttrans.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/nttrans.c	2007-05-29 14:51:24 UTC (rev 23205)
+++ branches/SAMBA_3_0/source/smbd/nttrans.c	2007-05-29 14:53:13 UTC (rev 23206)
@@ -2307,7 +2307,6 @@
 		return -1;
 	}
 
-
 	case FSCTL_GET_REPARSE_POINT:
 		/* pretend this fail - my winXP does it like this
 		 * --metze
@@ -2315,7 +2314,6 @@
 
 		DEBUG(10,("FSCTL_GET_REPARSE_POINT: called on FID[0x%04X](but not implemented)\n",fidnum));
 		return ERROR_NT(NT_STATUS_NOT_A_REPARSE_POINT);
-		return -1;
 
 	case FSCTL_SET_REPARSE_POINT:
 		/* pretend this fail - I'm assuming this because of the FSCTL_GET_REPARSE_POINT case.
@@ -2324,7 +2322,6 @@
 
 		DEBUG(10,("FSCTL_SET_REPARSE_POINT: called on FID[0x%04X](but not implemented)\n",fidnum));
 		return ERROR_NT(NT_STATUS_NOT_A_REPARSE_POINT);
-		return -1;
 			
 	case FSCTL_GET_SHADOW_COPY_DATA: /* don't know if this name is right...*/
 	{



More information about the samba-cvs mailing list