From b6780b9e1079cdb3eec2aedcd7d9e510edfd95f8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Mar 2006 14:39:42 +0000 Subject: [PATCH] * Uninitialised variable. Fixes the --delete test. --- src/nix-store/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc index 0ee7b0a7e..ae386a022 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)