diff options
author | Jeremy Allison <jra@samba.org> | 2009-07-17 21:29:28 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-07-17 21:29:28 -0700 |
commit | d654782806af37ba0d249f695ebecaad2a6ad3a7 (patch) | |
tree | ac0038ed6284c850517fae61328b8b8f0eb5f9cc /source3/smbd | |
parent | 7254898bc760984357f068926cb4504c154d5cae (diff) | |
download | samba-d654782806af37ba0d249f695ebecaad2a6ad3a7.tar.gz samba-d654782806af37ba0d249f695ebecaad2a6ad3a7.tar.bz2 samba-d654782806af37ba0d249f695ebecaad2a6ad3a7.zip |
Fix coverity CID 930. Pointer check can never be null here.
Jeremy
Diffstat (limited to 'source3/smbd')
-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 561c18a29d..cb76deb90a 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -4806,7 +4806,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, /* We know this name is ok, it's already passed the checks. */ - } else if(fsp && (fsp->is_directory || fsp->fh->fd == -1)) { + } else if(fsp->is_directory || fsp->fh->fd == -1) { /* * This is actually a QFILEINFO on a directory * handle (returned from an NT SMB). NT5.0 seems |