aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/main.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01 14:39:42 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01 14:39:42 +0000
commitb6780b9e1079cdb3eec2aedcd7d9e510edfd95f8 (patch)
tree5e43fc0a917182b3b71a37fd17538c9ec66eb71d /src/nix-store/main.cc
parentb602d2dfdf79d5e00595f78701b54339e15bf7d8 (diff)
* Uninitialised variable. Fixes the --delete test.
Diffstat (limited to 'src/nix-store/main.cc')
-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 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)