1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3/smbd: Remove unecessary 'else' block

This is an inconsequential cosmetic change, it just caught my eye
as looking a bit out of place compared to the surrounding code style.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Noel Power 2021-06-10 14:11:03 +01:00 committed by Noel Power
parent eb8d1265dc
commit 0f5c6c0aa0

View File

@ -3613,9 +3613,8 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
smb_fname_str_dbg(smb_fname))); smb_fname_str_dbg(smb_fname)));
if (S_ISDIR(smb_fname->st.st_ex_mode)) { if (S_ISDIR(smb_fname->st.st_ex_mode)) {
return NT_STATUS_FILE_IS_A_DIRECTORY; return NT_STATUS_FILE_IS_A_DIRECTORY;
} else {
return NT_STATUS_OBJECT_NAME_COLLISION;
} }
return NT_STATUS_OBJECT_NAME_COLLISION;
} }
break; break;