Remove redundant equality check
This commit is contained in:
parent
07e3466eb4
commit
8a068bd025
1 changed files with 1 additions and 1 deletions
|
@ -4086,7 +4086,7 @@ void DerivationGoal::registerOutputs()
|
||||||
} else if (buildMode == bmCheck) {
|
} else if (buildMode == bmCheck) {
|
||||||
/* Path already exists, and we want to compare, so we leave out
|
/* Path already exists, and we want to compare, so we leave out
|
||||||
new path in place. */
|
new path in place. */
|
||||||
} else if (finalDestPath == finalDestPath && worker.store.isValidPath(newInfo.path)) {
|
} else if (worker.store.isValidPath(newInfo.path)) {
|
||||||
/* Path already exists because CA path produced by something
|
/* Path already exists because CA path produced by something
|
||||||
else. No moving needed. */
|
else. No moving needed. */
|
||||||
assert(newInfo.ca);
|
assert(newInfo.ca);
|
||||||
|
|
Loading…
Reference in a new issue