Skip to content

Commit

Permalink
Merge pull request #8019 from edolstra/fix-read-from-stdin
Browse files Browse the repository at this point in the history
Fix another uninitialized variable
  • Loading branch information
edolstra authored Mar 9, 2023
2 parents 1ba40e9 + 8f96720 commit c447509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix-store/nix-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c447509

Please sign in to comment.