From 5286d7e052d4e422215da84ae136e8f00e76b632 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 26 Apr 2020 23:59:40 +0200 Subject: Removed debug printf --- src/ft_s_lcom.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/ft_s_lcom.c b/src/ft_s_lcom.c index ab63414..524eb32 100644 --- a/src/ft_s_lcom.c +++ b/src/ft_s_lcom.c @@ -106,19 +106,6 @@ void *lcom = NULL; } -/* !!!!!!!!!! ATTENTION !!!!!!!!!!! */ -/* TODO: remove this after tests */ -/* !!!!!!!!!! ATTENTION !!!!!!!!!!! */ -static void -ft_print_words(char *words[]) -{ - while (*words) - { - ft_printf("[%s]\n", *words); - words++; - } -} - t_lcom *ft_lcom_new(const char word[], t_msh *msh) @@ -126,7 +113,6 @@ t_lcom t_lcom *link; char **words; - (void)msh; if (!(link = (t_lcom*)malloc(sizeof(t_lcom)))) return (NULL); link->redir = 0; @@ -140,11 +126,6 @@ t_lcom return (NULL); if (!(words = ft_subst_vars(words, msh))) return (NULL); - /* !!!!!!!!!! ATTENTION !!!!!!!!!!! */ - /* TODO: remove this after tests */ - ft_print_words(words); - /* TODO: remove this after tests */ - /* !!!!!!!!!! ATTENTION !!!!!!!!!!! */ if (ft_fill_lcom(words, &link) < 0) { ft_delwords(words); -- cgit v1.2.3