summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
authorSalad <water_appreciator@protonmail.com>2020-12-04 21:40:49 +0100
committerSalad <water_appreciator@protonmail.com>2020-12-04 21:40:49 +0100
commit46f8585e463d1617bb120894afaec7f51cf85153 (patch)
treeed4dc8f3c8a719de3fc54a6c228cfc0fdf2653c9 /src/c_init.c
parentfix (diff)
download42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.gz
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.bz2
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.xz
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.zst
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.zip
gnu c compiler compatible
Diffstat (limited to '')
-rw-r--r--src/c_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/c_init.c b/src/c_init.c
index 5ba6a67..7a1509c 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -163,10 +163,8 @@ static char
*c_process_key(char *buf, t_caps *tcaps, t_msh *msh)
{
static char *line = NULL;
- int i;
char *ptr;
- i = -1;
if (line == NULL)
if (!(line = ft_calloc(1, sizeof(char))))
return (NULL);