diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-15 22:07:44 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-15 22:30:25 +0100 |
commit | fa495ce1c1ee0ac668d083c97bb75d90e9b34e81 (patch) | |
tree | 0ac76068adf88e79ef016b0b064a24427f2e8ab6 /source3 | |
parent | 3351bdeb236df9f35b4be89ddb15ee7cff63994a (diff) | |
download | samba-fa495ce1c1ee0ac668d083c97bb75d90e9b34e81.tar.gz samba-fa495ce1c1ee0ac668d083c97bb75d90e9b34e81.tar.bz2 samba-fa495ce1c1ee0ac668d083c97bb75d90e9b34e81.zip |
Fix Coverity ID 564
finfo1==NULL just does not happen in current code
(This used to be commit 9ea0078c3151984a901c9bba559ae2bd7959e077)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/clitar.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index 04cc987889..f53c9b4035 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -668,16 +668,6 @@ static void do_atar(const char *rname_in,char *lname,file_info *finfo1) } safe_strcpy(finfo.name,rname, strlen(rname)); - if (!finfo1) { - time_t atime, mtime; - if (!cli_getattrE(cli, fnum, &finfo.mode, &finfo.size, NULL, &atime, &mtime)) { - DEBUG(0, ("getattrE: %s\n", cli_errstr(cli))); - goto cleanup; - } - finfo.atime_ts = convert_time_t_to_timespec(atime); - finfo.mtime_ts = convert_time_t_to_timespec(mtime); - finfo.ctime_ts = finfo.mtime_ts; - } DEBUG(3,("file %s attrib 0x%X\n",finfo.name,finfo.mode)); |