Remove unnecessary parentheses
This commit is contained in:
		
							parent
							
								
									d6d5885c15
								
							
						
					
					
						commit
						f3dda728a4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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); | ||||
|                 } | ||||
|         }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue