summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 22:30:05 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 22:31:00 +0200
commit06bafb75965983601f9afd08b70c9f7463d4c5f3 (patch)
treecb156e8a8e88c74f85e2fbdaf5bf0a2b3b38dca2 /source4
parent00f189f78ca5dcaf9917e231ddaef2b4398db0b5 (diff)
downloadsamba-06bafb75965983601f9afd08b70c9f7463d4c5f3.tar.gz
samba-06bafb75965983601f9afd08b70c9f7463d4c5f3.tar.bz2
samba-06bafb75965983601f9afd08b70c9f7463d4c5f3.zip
s4:smb_server/smb2/find.c - remove unused code
Spotted by the Solaris 10 compiler
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb2/find.c3
1 files changed, 0 insertions, 3 deletions
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)