Remove LocalStore::OptimiseStats::blocksFreed as it is dead code

This commit is contained in:
John Ericson 2024-05-10 09:39:04 -04:00
parent cb7224a8c2
commit 0998a3ac01
2 changed files with 0 additions and 2 deletions

View file

@ -32,7 +32,6 @@ struct OptimiseStats
{
unsigned long filesLinked = 0;
uint64_t bytesFreed = 0;
uint64_t blocksFreed = 0;
};
struct LocalStoreConfig : virtual LocalFSStoreConfig

View file

@ -256,7 +256,6 @@ void LocalStore::optimisePath_(Activity * act, OptimiseStats & stats,
stats.filesLinked++;
stats.bytesFreed += st.st_size;
stats.blocksFreed += st.st_blocks;
if (act)
act->result(resFileLinked, st.st_size, st.st_blocks);