diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-26 20:07:03 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-26 20:07:03 +0200 |
commit | 2cc6f50e5b04b903ca97d8a5479c95ca72b52547 (patch) | |
tree | b6b6616a1dc0425aa167eeda90dbe0f040183a50 /src/ft_p_lcom_next.c | |
parent | Got special variables running (diff) | |
download | 42-minishell-2cc6f50e5b04b903ca97d8a5479c95ca72b52547.tar.gz 42-minishell-2cc6f50e5b04b903ca97d8a5479c95ca72b52547.tar.bz2 42-minishell-2cc6f50e5b04b903ca97d8a5479c95ca72b52547.tar.xz 42-minishell-2cc6f50e5b04b903ca97d8a5479c95ca72b52547.tar.zst 42-minishell-2cc6f50e5b04b903ca97d8a5479c95ca72b52547.zip |
substsubtsubst
Diffstat (limited to 'src/ft_p_lcom_next.c')
-rw-r--r-- | src/ft_p_lcom_next.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_p_lcom_next.c b/src/ft_p_lcom_next.c index 4715e47..5e374b6 100644 --- a/src/ft_p_lcom_next.c +++ b/src/ft_p_lcom_next.c @@ -23,7 +23,6 @@ char { /* TODO: norme */ char **p_words; - char **p_env; char *s_varname; int64_t i; size_t varlen; @@ -43,7 +42,6 @@ char if (!(s_varname = ft_substr(*p_words, (uint32_t)i, varlen))) return (NULL); ft_printf("{%s} | {%s}\n", s_varname, ft_subst_var_value(s_varname, msh)); - p_env = msh->envp; ft_memdel((void*)&s_varname); varlen += 1; } |