aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/shared.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r--src/libmain/shared.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 99ac198ca..d39816586 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -90,12 +90,6 @@ static void setLogType(string lt)
}
-RemoveTempRoots::~RemoveTempRoots()
-{
- removeTempRoots();
-}
-
-
static bool showTrace = false;
@@ -217,10 +211,6 @@ static void initAndRun(int argc, char * * argv)
verbosityDelta += queryIntSetting("verbosity", lvlInfo);
verbosity = (Verbosity) (verbosityDelta < 0 ? 0 : verbosityDelta);
- /* Automatically clean up the temporary roots file when we
- exit. */
- RemoveTempRoots removeTempRoots __attribute__((unused));
-
run(remaining);
/* Close the Nix database. */