mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Fix uninitialized variable warnings on i686-linux
https://hydra.nixos.org/build/239849607
This commit is contained in:
parent
55dd1244d2
commit
b0455e9931
5 changed files with 7 additions and 7 deletions
|
@ -481,12 +481,12 @@ static void printMissing(EvalState & state, DrvInfos & elems)
|
|||
std::vector<DerivedPath> targets;
|
||||
for (auto & i : elems)
|
||||
if (auto drvPath = i.queryDrvPath())
|
||||
targets.push_back(DerivedPath::Built{
|
||||
targets.emplace_back(DerivedPath::Built{
|
||||
.drvPath = makeConstantStorePathRef(*drvPath),
|
||||
.outputs = OutputsSpec::All { },
|
||||
});
|
||||
else
|
||||
targets.push_back(DerivedPath::Opaque{
|
||||
targets.emplace_back(DerivedPath::Opaque{
|
||||
.path = i.queryOutPath(),
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue