diff options
Diffstat (limited to 'src/ft_p_lcom.c')
-rw-r--r-- | src/ft_p_lcom.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c index 823db3b..a8449ae 100644 --- a/src/ft_p_lcom.c +++ b/src/ft_p_lcom.c @@ -130,7 +130,6 @@ int8_t /* TODO: norme */ uint64_t i; t_lcom *link; - struct s_lpipes *lpipes; char **words; t_bool next; @@ -145,11 +144,11 @@ int8_t { if (!(link = ft_lcom_new(NULL, msh))) return (-1); - if (!(lpipes = ft_split_pipes(words[i], link, msh))) + if (!(ft_split_pipes(words[i], link, msh))) return (-1); next = TRUE; } - if (next == FALSE && !(link = ft_lcom_new(words[i], NULL, msh))) + if (next == FALSE && !(link = ft_lcom_new(words[i], msh))) return (-1); ft_lcom_add_back(&msh->curr, link); i++; |