Fix another uninitialized variable

https://hydra.nixos.org/build/211811494
This commit is contained in:
Eelco Dolstra 2023-03-09 15:30:53 +01:00
parent 1ba40e959b
commit 8f96720b9f

View file

@ -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;