From ac29587a100d59348107abaaa7425b78541f2e1a Mon Sep 17 00:00:00 2001 From: Hugo LAMY Date: Thu, 25 Apr 2019 15:00:32 +0200 Subject: [PATCH] nettoye parse_input avec add_to_list a l'interieur --- parse_input.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/parse_input.c b/parse_input.c index 511533f..50f613c 100644 --- a/parse_input.c +++ b/parse_input.c @@ -6,7 +6,7 @@ /* By: vmanzoni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */ -/* Updated: 2019/04/24 16:18:16 by hulamy ### ########.fr */ +/* Updated: 2019/04/25 14:59:45 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ @@ -63,14 +63,6 @@ int add_to_list(char *line, t_fillist **list) return (1); } -void find_map(t_fillist *list) -{ - unsigned int map[10]; - - fill_map(list, map); - print_maop(map); -} - /* ** Function that parse a file and put each tetrimino in a linked list */ @@ -95,6 +87,5 @@ void parse_input(char *input) while (input[i] && input[i] != '.' && input[i] != '#') i++; } - find_map(list); }