aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-09 15:30:53 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-09 15:30:53 +0100
commit8f96720b9f7b23c3c34694be11d20a8ce3b619f5 (patch)
tree196aa4d2cfd98d235abab6d671edc07b9bd9469a /src/nix-store/nix-store.cc
parent1ba40e959b25aa7a43fb9081c76aefc780595761 (diff)
Fix another uninitialized variable
https://hydra.nixos.org/build/211811494
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 2f754c961..54479489f 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -1023,7 +1023,7 @@ static int main_nix_store(int argc, char * * argv)
{
Strings opFlags, opArgs;
Operation op = 0;
- bool readFromStdIn;
+ bool readFromStdIn = false;
parseCmdLine(argc, argv, [&](Strings::iterator & arg, const Strings::iterator & end) {
Operation oldOp = op;