clear
This commit is contained in:
		
							parent
							
								
									c9ecd592a8
								
							
						
					
					
						commit
						d638476ad0
					
				| @ -76,7 +76,7 @@ struct car* clear_train(struct car* first, const char* target) { | |||||||
|     else{ |     else{ | ||||||
|         struct car* this = first; |         struct car* this = first; | ||||||
|         while(this != NULL){ |         while(this != NULL){ | ||||||
|             int x == strcmp(this->value, target); |             int x = strcmp(this->value, target); | ||||||
|             if(x == 0){ |             if(x == 0){ | ||||||
|                 free(this->value); |                 free(this->value); | ||||||
|                 return 0; |                 return 0; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user