diff options
-rw-r--r-- | src/ft_s_lcom.c | 19 |
1 files changed, 0 insertions, 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); |