diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-26 23:59:40 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-26 23:59:40 +0200 |
commit | 5286d7e052d4e422215da84ae136e8f00e76b632 (patch) | |
tree | ffffb3b47b550408c2a825a5acb13edff7e94092 /src | |
parent | gdb time, strsubst might be broken (diff) | |
download | 42-minishell-5286d7e052d4e422215da84ae136e8f00e76b632.tar.gz 42-minishell-5286d7e052d4e422215da84ae136e8f00e76b632.tar.bz2 42-minishell-5286d7e052d4e422215da84ae136e8f00e76b632.tar.xz 42-minishell-5286d7e052d4e422215da84ae136e8f00e76b632.tar.zst 42-minishell-5286d7e052d4e422215da84ae136e8f00e76b632.zip |
Removed debug printf
Diffstat (limited to 'src')
-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); |