aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r--src/ft_init_lists.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index 8e874ac..5bd4d06 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -55,7 +55,6 @@ static int8_t
wl->y_size = 0;
wl->x_max_size = 0;
wl->y_max_size = 0;
- /* wlist = &wl; */
return (0);
}
@@ -85,14 +84,9 @@ static int8_t
int8_t
ft_init_cub3d(t_cub *clist)
{
- /* t_cub *cl; */
-
- /* if (!(cl = (t_cub*)malloc(sizeof(t_cub)))) */
- /* return (-1); */
if (ft_init_cub(clist) < 0)
return (-1);
if (ft_init_win(&clist->wlist) < 0)
return (-1);
- /* *clist = cl; */
return (0);
}