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)