From 06bafb75965983601f9afd08b70c9f7463d4c5f3 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 29 Jun 2010 22:30:05 +0200 Subject: s4:smb_server/smb2/find.c - remove unused code Spotted by the Solaris 10 compiler --- source4/smb_server/smb2/find.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/smb_server/smb2') diff --git a/source4/smb_server/smb2/find.c b/source4/smb_server/smb2/find.c index cd52872a1c..17f09e15ae 100644 --- a/source4/smb_server/smb2/find.c +++ b/source4/smb_server/smb2/find.c @@ -130,9 +130,6 @@ static NTSTATUS smb2srv_find_backend(struct smb2srv_find_state *state) return ntvfs_search_next(state->req->ntvfs, state->fn, state, smb2srv_find_callback); } - - /* should not be reached */ - return NT_STATUS_INTERNAL_ERROR; } void smb2srv_find_recv(struct smb2srv_request *req) -- cgit