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

Fix coverity CID 931. This check is redundent as smb_fname can

never be null in this function.
Jeremy.
This commit is contained in:
Jeremy Allison 2009-07-17 21:26:16 -07:00
parent eba2eb45e2
commit 7254898bc7

View File

@ -7244,7 +7244,7 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
case SMB_SET_FILE_UNIX_HLINK:
{
if (fsp || smb_fname == NULL) {
if (fsp) {
/* We must have a pathname for this. */
return NT_STATUS_INVALID_LEVEL;
}