about summary refs log tree commit diff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-21T11·57+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-21T11·57+0200
commiteadb86f44726e12988d5f21b47e4c54b49b2092b (patch)
tree7bc583f1caeba82bf09f660c0367f8d33e9b24f1 /src/libstore/store-api.cc
parent1d29db2a9f67af8a32b2f901a6da6697c539a50d (diff)
nix-collect-garbage: Revive --max-freed
Fixes #609.
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index bb0bc09330c3..a73ebd824264 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -2,20 +2,10 @@
 #include "globals.hh"
 #include "util.hh"
 
-#include <climits>
-
 
 namespace nix {
 
 
-GCOptions::GCOptions()
-{
-    action = gcDeleteDead;
-    ignoreLiveness = false;
-    maxFreed = ULLONG_MAX;
-}
-
-
 bool isInStore(const Path & path)
 {
     return isInDir(path, settings.nixStore);