summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-17 21:26:16 -0700
committerJeremy Allison <jra@samba.org>2009-07-17 21:26:16 -0700
commit7254898bc760984357f068926cb4504c154d5cae (patch)
tree98125fd24be90cd26ea386343858b326443f1519 /source3/smbd
parenteba2eb45e208e6b3091c01ff1d40fd966e72a044 (diff)
downloadsamba-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.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
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;
}