Remove Write on putnbr

This commit is contained in:
lclerel- lclerel-
2026-03-09 12:16:11 +01:00
parent b54514af5c
commit 9c9f07f4a7
5 changed files with 5 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
/* By: lclerel- <lclerel-@learner.42.tech> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/09 10:34:20 by lclerel- #+# #+# */
/* Updated: 2026/03/09 10:40:43 by lclerel- ### ########.fr */
/* Updated: 2026/03/09 12:15:39 by lclerel- ### ########.fr */
/* */
/* ************************************************************************** */
@@ -31,7 +31,6 @@ void ft_putnbr(int nb)
ft_putnbr(nb / 10);
}
value = nb % 10 + '0';
write(1, &value, 1);
}
int ft_recursive_power(int nb, int power)