summaryrefslogtreecommitdiffstats
path: root/src/m_funptr.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-15 20:14:00 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-15 20:14:00 +0200
commitaeb1dec54283f4506f47893923b29a71499353de (patch)
tree22e3b5df1910ccd52804987205adfe705c72bec6 /src/m_funptr.c
parentHuge fixes and stack stuff (diff)
download42-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 'src/m_funptr.c')
-rw-r--r--src/m_funptr.c4
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);
- }
}