diff options
Diffstat (limited to 'libft')
| -rw-r--r-- | libft/src/ft_substr.c | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/libft/src/ft_substr.c b/libft/src/ft_substr.c index 947a305..234ddc4 100644 --- a/libft/src/ft_substr.c +++ b/libft/src/ft_substr.c @@ -18,9 +18,7 @@ char  	*ft_substr(const char *s, unsigned int start, size_t len)  {  	char	*nstr; -	size_t	i; -	i = 0;  	if (!(nstr = (char*)malloc((len + 1) * sizeof(char))))  		return (NULL);  	ft_strlcpy(nstr, s + start, len + 1); | 
