forked from lix-project/lix
Merge pull request #8019 from edolstra/fix-read-from-stdin
Fix another uninitialized variable
This commit is contained in:
commit
c44750982d
|
@ -1023,7 +1023,7 @@ static int main_nix_store(int argc, char * * argv)
|
||||||
{
|
{
|
||||||
Strings opFlags, opArgs;
|
Strings opFlags, opArgs;
|
||||||
Operation op = 0;
|
Operation op = 0;
|
||||||
bool readFromStdIn;
|
bool readFromStdIn = false;
|
||||||
|
|
||||||
parseCmdLine(argc, argv, [&](Strings::iterator & arg, const Strings::iterator & end) {
|
parseCmdLine(argc, argv, [&](Strings::iterator & arg, const Strings::iterator & end) {
|
||||||
Operation oldOp = op;
|
Operation oldOp = op;
|
||||||
|
|
Loading…
Reference in a new issue