diff options
author | Jeremy Allison <jra@samba.org> | 2009-07-17 21:26:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-07-17 21:26:16 -0700 |
commit | 7254898bc760984357f068926cb4504c154d5cae (patch) | |
tree | 98125fd24be90cd26ea386343858b326443f1519 | |
parent | eba2eb45e208e6b3091c01ff1d40fd966e72a044 (diff) | |
download | samba-7254898bc760984357f068926cb4504c154d5cae.tar.gz samba-7254898bc760984357f068926cb4504c154d5cae.tar.bz2 samba-7254898bc760984357f068926cb4504c154d5cae.zip |
Fix coverity CID 931. This check is redundent as smb_fname can
never be null in this function.
Jeremy.
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 06536f9e21..561c18a29d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -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; } |