* Drop unnecessary call to canonPath() (nixStore is already canonical).
This commit is contained in:
		
							parent
							
								
									66c99b0cf5
								
							
						
					
					
						commit
						58d974336c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -634,7 +634,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            foreach (vector<Path>::iterator, i, entries_)
 | 
					            foreach (vector<Path>::iterator, i, entries_)
 | 
				
			||||||
                tryToDelete(state, canonPath(nixStore + "/" + *i));
 | 
					                tryToDelete(state, nixStore + "/" + *i);
 | 
				
			||||||
        } catch (GCLimitReached & e) {
 | 
					        } catch (GCLimitReached & e) {
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }        
 | 
					    }        
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue