diff options
Diffstat (limited to 'src/parse/redir_parse.c')
| -rwxr-xr-x | src/parse/redir_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/redir_parse.c b/src/parse/redir_parse.c index bdcb3ab..c92d639 100755 --- a/src/parse/redir_parse.c +++ b/src/parse/redir_parse.c @@ -12,7 +12,7 @@ t_ast *parse_redir(t_ast *ast, t_ftlst *rest) { t_ftlst *new; - new = rest->data; + /* new = rest->data; */ if (ast == NULL) { ast = ast_new(AST_CMD); @@ -21,7 +21,7 @@ t_ast *parse_redir(t_ast *ast, t_ftlst *rest) else { new = ft_lstnew((t_token *)rest->data); - ft_lstpush_back(&ast->redirs, (void *)new); + ft_lstpush_back(&ast->redirs, new); } return (ast); } |
