clear
This commit is contained in:
		
							parent
							
								
									a957a8266f
								
							
						
					
					
						commit
						a07d0dd1df
					
				@ -69,6 +69,7 @@ struct car* clear_train(struct car* first, const char* target) {
 | 
				
			|||||||
            first = NULL;
 | 
					            first = NULL;
 | 
				
			||||||
            first = prev->next;
 | 
					            first = prev->next;
 | 
				
			||||||
            free(prev);
 | 
					            free(prev);
 | 
				
			||||||
 | 
					            return first;
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        x = strcmp(prev->next->value, target);
 | 
					        x = strcmp(prev->next->value, target);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user