We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a949673 commit b91500aCopy full SHA for b91500a
src/libstore/build/local-derivation-goal.cc
@@ -2383,14 +2383,10 @@ void LocalDerivationGoal::registerOutputs()
2383
[&](DerivationOutputCAFloating dof) {
2384
return newInfoFromCA(dof);
2385
},
2386
- [&](DerivationOutputDeferred) {
+ [&](DerivationOutputDeferred) -> ValidPathInfo {
2387
// No derivation should reach that point without having been
2388
// rewritten first
2389
assert(false);
2390
- // Ugly, but the compiler insists on having this return a value
2391
- // of type `ValidPathInfo` despite the `assert(false)`, so
2392
- // let's provide it
2393
- return *(ValidPathInfo*)0;
2394
2395
}, output.output);
2396
0 commit comments