mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16: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;
|
unsigned long filesLinked = 0;
|
||||||
uint64_t bytesFreed = 0;
|
uint64_t bytesFreed = 0;
|
||||||
uint64_t blocksFreed = 0;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct LocalStoreConfig : virtual LocalFSStoreConfig
|
struct LocalStoreConfig : virtual LocalFSStoreConfig
|
||||||
|
|
|
@ -256,7 +256,6 @@ void LocalStore::optimisePath_(Activity * act, OptimiseStats & stats,
|
||||||
|
|
||||||
stats.filesLinked++;
|
stats.filesLinked++;
|
||||||
stats.bytesFreed += st.st_size;
|
stats.bytesFreed += st.st_size;
|
||||||
stats.blocksFreed += st.st_blocks;
|
|
||||||
|
|
||||||
if (act)
|
if (act)
|
||||||
act->result(resFileLinked, st.st_size, st.st_blocks);
|
act->result(resFileLinked, st.st_size, st.st_blocks);
|
||||||
|
|
Loading…
Reference in a new issue