Remove unnecessary call to forceStringNoCtx
This commit is contained in:
		
							parent
							
								
									a5684e09d3
								
							
						
					
					
						commit
						69befd33a9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1083,7 +1083,7 @@ bool EvalState::isDerivation(Value & v) | ||||||
|     if (i == v.attrs->end()) return false; |     if (i == v.attrs->end()) return false; | ||||||
|     forceValue(*i->value); |     forceValue(*i->value); | ||||||
|     if (i->value->type != tString) return false; |     if (i->value->type != tString) return false; | ||||||
|     return forceStringNoCtx(*i->value) == "derivation"; |     return strcmp(i->value->string.s, "derivation") == 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue