mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 15:08:47 +02:00
「🔨」 fix: Fixed make file with latest version of cc
This commit is contained in:
6
src/env/env_cmd.c
vendored
6
src/env/env_cmd.c
vendored
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/06 19:09:50 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/05/06 20:27:45 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/05/09 15:54:22 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -43,7 +43,7 @@ char **env_get(t_env *env)
|
||||
|
||||
int env_create_first_el(char *env_line, t_env *env)
|
||||
{
|
||||
t_env *new;
|
||||
// t_env *new;
|
||||
char *name;
|
||||
char *content;
|
||||
|
||||
@ -138,7 +138,7 @@ int env_edit(char *name, char *content, t_env *env)
|
||||
|
||||
int env_delete(char *name, t_env *env)
|
||||
{
|
||||
char *new_content;
|
||||
// char *new_content;
|
||||
t_env *tmp;
|
||||
|
||||
while (env && env->next && ft_strcmp(env->next->name, name))
|
||||
|
Reference in New Issue
Block a user