1
0
Fork 0
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:
Eelco Dolstra 2023-11-03 11:58:47 +01:00
parent 55dd1244d2
commit b0455e9931
5 changed files with 7 additions and 7 deletions

View file

@ -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(),
});