diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-15 20:14:00 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-15 20:14:00 +0200 |
commit | aeb1dec54283f4506f47893923b29a71499353de (patch) | |
tree | 22e3b5df1910ccd52804987205adfe705c72bec6 /src/m_funptr.c | |
parent | Huge fixes and stack stuff (diff) | |
download | 42-minishell-aeb1dec54283f4506f47893923b29a71499353de.tar.gz 42-minishell-aeb1dec54283f4506f47893923b29a71499353de.tar.bz2 42-minishell-aeb1dec54283f4506f47893923b29a71499353de.tar.xz 42-minishell-aeb1dec54283f4506f47893923b29a71499353de.tar.zst 42-minishell-aeb1dec54283f4506f47893923b29a71499353de.zip |
Init fix
Diffstat (limited to '')
-rw-r--r-- | src/m_funptr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/m_funptr.c b/src/m_funptr.c index 1983e73..bb8d80d 100644 --- a/src/m_funptr.c +++ b/src/m_funptr.c @@ -32,8 +32,4 @@ void msh->bu_ptr[FT_ID_TYPE] = b_type; msh->bu_ptr[FT_ID_SQB] = b_sqb; msh->bu_ptr[FT_ID_ALIAS] = b_alias; - if ((msh->bu_ref = ft_split(FT_BUILTINS, '|')) == NULL) - { - f_alloc_and_destroy_msh(msh); - } } |