summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:31:51 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:31:51 +0200
commitd0038f19a7cb23749588b72c9febcf114d9d31e9 (patch)
treee7daa5c0058d7d293d1d93fe9068d5ad59afcabe /src/s_init.c
parentIn progress (diff)
download42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.gz
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.bz2
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.xz
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.zst
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.zip
static hist, words fix
Diffstat (limited to '')
-rw-r--r--src/s_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/s_init.c b/src/s_init.c
index 55f9cf0..9ef856f 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -175,7 +175,6 @@ t_msh
init_buptr(msh);
msh->curr = NULL;
msh->vars = NULL;
- msh->hist[0] = '\0';
set_cwd(cwd, msh);
if ((msh->cwd = ft_strdup(cwd)) == NULL)
return (NULL);