about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-10T09·12+0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-10T09·27+0200
commit105f8ffc98d25e23c9a7eb5a5327e711b1e21e50 (patch)
tree0521d181dc8e9d753d0bb76cfbfd90376b4dbe61 /src/libstore/local-store.hh
parent95295482ea629fd21992f564b8e4f1710a7a61e6 (diff)
Minor cleanup
Also, possible fix for #1310 on 32-bit systems.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 28e9a31c9feb..750da0c142d3 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -26,14 +26,9 @@ struct Derivation;
 
 struct OptimiseStats
 {
-    unsigned long filesLinked;
-    unsigned long long bytesFreed;
-    unsigned long long blocksFreed;
-    OptimiseStats()
-    {
-        filesLinked = 0;
-        bytesFreed = blocksFreed = 0;
-    }
+    unsigned long filesLinked = 0;
+    unsigned long long bytesFreed = 0;
+    unsigned long long blocksFreed = 0;
 };