about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T14·39+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T14·39+0000
commitb6780b9e1079cdb3eec2aedcd7d9e510edfd95f8 (patch)
tree5e43fc0a917182b3b71a37fd17538c9ec66eb71d
parentb602d2dfdf79d5e00595f78701b54339e15bf7d8 (diff)
* Uninitialised variable. Fixes the --delete test.
-rw-r--r--src/nix-store/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc
index 0ee7b0a7e955..ae386a0220a3 100644
--- a/src/nix-store/main.cc
+++ b/src/nix-store/main.cc
@@ -532,7 +532,7 @@ static void opGC(Strings opFlags, Strings opArgs)
    roots). */
 static void opDelete(Strings opFlags, Strings opArgs)
 {
-    bool ignoreLiveness;
+    bool ignoreLiveness = false;
     
     for (Strings::iterator i = opFlags.begin();
          i != opFlags.end(); ++i)