Fix an uninitialised variable
The variable ‘useChroot’ was not initialised properly. This caused random failures if using the build hook. Seen on Mac OS X 10.7 with Clang. Thanks to KolibriFX for finding this :-)
This commit is contained in:
		
							parent
							
								
									6fe13e6aba
								
							
						
					
					
						commit
						1c94524458
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -837,6 +837,7 @@ private:
 | 
			
		|||
 | 
			
		||||
DerivationGoal::DerivationGoal(const Path & drvPath, Worker & worker)
 | 
			
		||||
    : Goal(worker)
 | 
			
		||||
    , useChroot(false)
 | 
			
		||||
{
 | 
			
		||||
    this->drvPath = drvPath;
 | 
			
		||||
    state = &DerivationGoal::init;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue