diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-31 19:50:58 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-31 19:50:58 +0100 |
commit | 63a95206656b6b6807ca2d1af6a372325a5a6dc7 (patch) | |
tree | 625c7a2283e9b0aaea258453ef4280a7cd61eb0f | |
parent | Add missing explicit on constructors (diff) | |
download | netfs-63a95206656b6b6807ca2d1af6a372325a5a6dc7.tar.bz2 netfs-63a95206656b6b6807ca2d1af6a372325a5a6dc7.tar.xz netfs-63a95206656b6b6807ca2d1af6a372325a5a6dc7.zip |
No need to set st_?time and st_?tim.tv_sec
-rw-r--r-- | netfs/ice/typeConverter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/netfs/ice/typeConverter.cpp b/netfs/ice/typeConverter.cpp index 896d078..5f3b668 100644 --- a/netfs/ice/typeConverter.cpp +++ b/netfs/ice/typeConverter.cpp @@ -19,11 +19,8 @@ EntryTypeConverter::convert(const NetFS::Attr & a) const s.st_blksize = safe {a.blockSize}; s.st_blocks = safe {a.blocks}; s.st_atime = safe {a.atime}; - s.st_atim.tv_sec = safe {a.atime}; s.st_mtime = safe {a.mtime}; - s.st_mtim.tv_sec = safe {a.mtime}; s.st_ctime = safe {a.ctime}; - s.st_ctim.tv_sec = safe {a.ctime}; return s; } |