s4:smb_server/blob.c - remove unused code
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 29 Jun 2010 20:30:05 +0000 (22:30 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 29 Jun 2010 20:30:05 +0000 (22:30 +0200)
Spotted by the Solaris 10 compiler

source4/smb_server/blob.c

index c17cde070d6b53845105edabc8088e5f8c435230..adc223ec7d832c5e35f261c9fe69697ae3beecfa 100644 (file)
@@ -292,8 +292,6 @@ NTSTATUS smbsrv_push_passthru_fsinfo(TALLOC_CTX *mem_ctx,
        default:
                return NT_STATUS_INVALID_LEVEL;
        }
-
-       return NT_STATUS_INVALID_LEVEL;
 }
 
 NTSTATUS smbsrv_push_passthru_fileinfo(TALLOC_CTX *mem_ctx,
@@ -509,8 +507,6 @@ NTSTATUS smbsrv_push_passthru_fileinfo(TALLOC_CTX *mem_ctx,
        default:
                return NT_STATUS_INVALID_LEVEL;
        }
-
-       return NT_STATUS_INVALID_LEVEL;
 }
 
 NTSTATUS smbsrv_pull_passthru_sfileinfo(TALLOC_CTX *mem_ctx,
@@ -636,8 +632,6 @@ NTSTATUS smbsrv_pull_passthru_sfileinfo(TALLOC_CTX *mem_ctx,
        default:
                return NT_STATUS_INVALID_LEVEL;
        }
-
-       return NT_STATUS_INVALID_LEVEL;
 }
 
 /*
@@ -784,6 +778,4 @@ NTSTATUS smbsrv_push_passthru_search(TALLOC_CTX *mem_ctx,
        default:
                return NT_STATUS_INVALID_LEVEL;
        }
-
-       return NT_STATUS_INVALID_LEVEL;
 }