r23206: remove unreachable code
authorGerald Carter <jerry@samba.org>
Tue, 29 May 2007 14:53:13 +0000 (14:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:54 +0000 (12:22 -0500)
source/smbd/nttrans.c

index e8919f9faffebf51ca6a89e7a9547ed5e54b91ff..a1edc99bceb55881371ee51b89d07015ae6591e9 100644 (file)
@@ -2307,7 +2307,6 @@ static int call_nt_transact_ioctl(connection_struct *conn, char *inbuf, char *ou
                return -1;
        }
 
-
        case FSCTL_GET_REPARSE_POINT:
                /* pretend this fail - my winXP does it like this
                 * --metze
@@ -2315,7 +2314,6 @@ static int call_nt_transact_ioctl(connection_struct *conn, char *inbuf, char *ou
 
                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 @@ static int call_nt_transact_ioctl(connection_struct *conn, char *inbuf, char *ou
 
                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...*/
        {