summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-15 22:07:44 +0100
committerVolker Lendecke <vl@samba.org>2008-03-15 22:30:25 +0100
commitfa495ce1c1ee0ac668d083c97bb75d90e9b34e81 (patch)
tree0ac76068adf88e79ef016b0b064a24427f2e8ab6
parent3351bdeb236df9f35b4be89ddb15ee7cff63994a (diff)
downloadsamba-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)
-rw-r--r--source3/client/clitar.c10
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));