summaryrefslogtreecommitdiffstats
path: root/src/ft_m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_m_loop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c
index 557a9b0..4c22009 100644
--- a/src/ft_m_loop.c
+++ b/src/ft_m_loop.c
@@ -24,7 +24,6 @@ int32_t
{
int8_t gnl;
char *line;
- t_lcom *head;
gnl = 1;
while (gnl > 0)
@@ -33,10 +32,9 @@ int32_t
gnl = get_next_line(STDIN_FILENO, &line);
if (line[0] != '\0')
{
- head = msh->lcom;
ft_p_line(line, msh);
ft_memdel((void*)&line);
- ft_e_lcom(head, msh);
+ ft_e_lcom(msh);
/* TODO: memdel lcom - INSTALL VALGRIND */
}
else