fix: removed putendl on malloc

This commit is contained in:
2026-02-10 08:54:11 +01:00
parent 1f0f38e42f
commit 3d97d6506a

View File

@@ -6,7 +6,7 @@
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/02/09 18:56:41 by sede-san #+# #+# */
/* Updated: 2026/02/10 08:51:42 by sede-san ### ########.fr */
/* Updated: 2026/02/10 08:53:56 by sede-san ### ########.fr */
/* */
/* ************************************************************************** */
@@ -104,7 +104,6 @@ static t_token *token_new(
token = (t_token *)malloc(sizeof(t_token));
if (token == NULL)
return (NULL);
ft_putendl("malloc");
token->type = type;
token->value = text;
if (token->type == TOKEN_WORD && token->value == NULL)