mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Remove LocalStore::OptimiseStats::blocksFreed
as it is dead code
This commit is contained in:
parent
cb7224a8c2
commit
0998a3ac01
2 changed files with 0 additions and 2 deletions
|
@ -32,7 +32,6 @@ struct OptimiseStats
|
|||
{
|
||||
unsigned long filesLinked = 0;
|
||||
uint64_t bytesFreed = 0;
|
||||
uint64_t blocksFreed = 0;
|
||||
};
|
||||
|
||||
struct LocalStoreConfig : virtual LocalFSStoreConfig
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue