diff --git a/cv5/a_train.c b/cv5/a_train.c index 7b0cdd1..f862e4c 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -63,7 +63,7 @@ struct car* clear_train(struct car* first, const char* target) { } } struct car* prev = first; - int z = strcmp(prev->value, target}; + int z = strcmp(prev->value, target); if(z == 0){ struct car* only = prev->next; free(prev);