mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
Remove LocalStore::OptimiseStats::blocksFreed
as it is dead code
This commit is contained in:
parent
cb7224a8c2
commit
0998a3ac01
@ -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 New Issue
Block a user