mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 00:37:54 -04:00
remove some unused code
Found by codacy.com
This commit is contained in:
parent
611639710d
commit
d4f50cb109
14 changed files with 8 additions and 114 deletions
|
@ -6733,7 +6733,6 @@ static std::string get_human_readable_timestamp(uint64_t ts)
|
|||
gmtime_r(&tt, &tm);
|
||||
#endif
|
||||
uint64_t now = time(NULL);
|
||||
uint64_t diff = ts > now ? ts - now : now - ts;
|
||||
strftime(buffer, sizeof(buffer), "%Y-%m-%d %H:%M:%S", &tm);
|
||||
return std::string(buffer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue