Skip to content

Commit

Permalink
Fix another uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 9, 2023
1 parent 1ba40e9 commit 8f96720
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 8f96720

Please sign in to comment.