summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-17 21:40:23 -0700
committerJeremy Allison <jra@samba.org>2009-07-17 21:40:23 -0700
commit0bd13fda76d8cb4f345411b847d5be233e12bcc0 (patch)
tree54b3a5b5d2c30e70ec699ea46dca6965bc3c8add /source3/smbd
parent3036a9c7c12d382b925a1f0e2d6265a3817bd3c4 (diff)
downloadsamba-0bd13fda76d8cb4f345411b847d5be233e12bcc0.tar.gz
samba-0bd13fda76d8cb4f345411b847d5be233e12bcc0.tar.bz2
samba-0bd13fda76d8cb4f345411b847d5be233e12bcc0.zip
Fix Coverity CID 928. Removed check as this can never be null.
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 7a0feea291..122114c24f 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4088,7 +4088,7 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
file_size = get_file_size_stat(&sbuf);
}
- if (fsp && fsp->fh) {
+ if (fsp) {
pos = fsp->fh->position_information;
}