diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-09 15:30:53 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-03-09 15:30:53 +0100 |
commit | 8f96720b9f7b23c3c34694be11d20a8ce3b619f5 (patch) | |
tree | 196aa4d2cfd98d235abab6d671edc07b9bd9469a /src/nix-store | |
parent | 1ba40e959b25aa7a43fb9081c76aefc780595761 (diff) |
Fix another uninitialized variable
https://hydra.nixos.org/build/211811494
Diffstat (limited to 'src/nix-store')
-rw-r--r-- | src/nix-store/nix-store.cc | 2 |
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; |