Remove unnecessary parentheses

This commit is contained in:
Eelco Dolstra 2015-07-26 12:07:14 +02:00
parent d6d5885c15
commit f3dda728a4

View file

@ -2730,10 +2730,10 @@ void DerivationGoal::registerOutputs()
for (auto & i : used)
if (allowed) {
if (spec.find(i) == spec.end())
throw BuildError(format("output (%1%) is not allowed to refer to path %2%") % actualPath % i);
throw BuildError(format("output %1% is not allowed to refer to path %2%") % actualPath % i);
} else {
if (spec.find(i) != spec.end())
throw BuildError(format("output (%1%) is not allowed to refer to path %2%") % actualPath % i);
throw BuildError(format("output %1% is not allowed to refer to path %2%") % actualPath % i);
}
};