diff --git a/cv9/snake.c b/cv9/snake.c index b33b25f..67c8963 100644 --- a/cv9/snake.c +++ b/cv9/snake.c @@ -20,10 +20,6 @@ struct snake* remove_snake(struct snake* snake){ struct snake* nova_hlavicka = snake->next; free(snake); - if (nova_hlavicka != NULL) { - nova_hlavicka->next = NULL; - } - return nova_hlavicka; }