Fix Coverity CID 928. Removed check as this can never be null.
authorJeremy Allison <jra@samba.org>
Sat, 18 Jul 2009 04:40:23 +0000 (21:40 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 18 Jul 2009 04:40:23 +0000 (21:40 -0700)
Jeremy.

source3/smbd/trans2.c

index 7a0feea29171660d2c36ad383161a8203ce8af41..122114c24f68e6b2cbc9b930dc9a3e1d1c668e77 100644 (file)
@@ -4088,7 +4088,7 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
                file_size = get_file_size_stat(&sbuf);
        }
 
                file_size = get_file_size_stat(&sbuf);
        }
 
-       if (fsp && fsp->fh) {
+       if (fsp) {
                pos = fsp->fh->position_information;
        }
 
                pos = fsp->fh->position_information;
        }