Skip to content

Commit 632ccfb

Browse files
committed
Remove dead outputPaths variable.
1 parent 4635746 commit 632ccfb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libstore/build/derivation-goal.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ Goal::Co DerivationGoal::haveDerivation(bool storeDerivation)
170170
auto outputHashes = staticOutputHashes(worker.evalStore, *drv);
171171
auto resolvedHashes = staticOutputHashes(worker.store, drvResolved);
172172

173-
StorePathSet outputPaths;
174-
175173
auto outputHash = get(outputHashes, wantedOutput);
176174
auto resolvedHash = get(resolvedHashes, wantedOutput);
177175
if ((!outputHash) || (!resolvedHash))
@@ -211,7 +209,6 @@ Goal::Co DerivationGoal::haveDerivation(bool storeDerivation)
211209
worker.store.signRealisation(newRealisation);
212210
worker.store.registerDrvOutput(newRealisation);
213211
}
214-
outputPaths.insert(realisation.outPath);
215212

216213
auto status = success.status;
217214
if (status == BuildResult::Success::AlreadyValid)

0 commit comments

Comments
 (0)