1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +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

@ -819,7 +819,7 @@ void Store::substitutePaths(const StorePathSet & paths)
std::vector<DerivedPath> paths2;
for (auto & path : paths)
if (!path.isDerivation())
paths2.push_back(DerivedPath::Opaque{path});
paths2.emplace_back(DerivedPath::Opaque{path});
uint64_t downloadSize, narSize;
StorePathSet willBuild, willSubstitute, unknown;
queryMissing(paths2,