about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)