summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 17:25:26 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 17:25:26 +0200
commitf7eb7d0c123e71f8b3998199a690b5d57aa96e1f (patch)
treeb38c303ffcf833558c5ab852b94e2989572c0ecf
parentFuck (diff)
download42-minishell-f7eb7d0c123e71f8b3998199a690b5d57aa96e1f.tar.gz
42-minishell-f7eb7d0c123e71f8b3998199a690b5d57aa96e1f.tar.bz2
42-minishell-f7eb7d0c123e71f8b3998199a690b5d57aa96e1f.tar.xz
42-minishell-f7eb7d0c123e71f8b3998199a690b5d57aa96e1f.tar.zst
42-minishell-f7eb7d0c123e71f8b3998199a690b5d57aa96e1f.zip
In progress
-rw-r--r--src/b_alias.c2
-rw-r--r--src/p_lblock_next.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/b_alias.c b/src/b_alias.c
index 08298b3..55b7232 100644
--- a/src/b_alias.c
+++ b/src/b_alias.c
@@ -24,6 +24,8 @@ static void
b_print_alias_list(t_msh *msh)
{
t_lalias *ptr;
+ size_t i;
+ /* char buff[255][255][ARG_MAX]; */
ptr = msh->alias;
while (ptr != NULL)
diff --git a/src/p_lblock_next.c b/src/p_lblock_next.c
index 0c1c1f4..02ecbb2 100644
--- a/src/p_lblock_next.c
+++ b/src/p_lblock_next.c
@@ -194,11 +194,6 @@ size_t
return (usedcmp);
}
}
- /* ptr = value; */
- /* save = value; */
- /* while (*ptr != C_NUL && ft_iswhitespace(*ptr) == FALSE) */
- /* ptr++; */
- /* ft_strlcpy(tmp, save, (ptr - save) + 1); */
}
return (0);
}