aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-03 16:59:27 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-03 16:59:27 +0100
commit6a312852a5ef7b71164ff9057a0a66ca2304aef8 (patch)
tree4a525d2070069d5f0cd7b1804c68f598ea7acd6b
parentMerge branch 'bmp' (diff)
download42-cub3d-6a312852a5ef7b71164ff9057a0a66ca2304aef8.tar.gz
42-cub3d-6a312852a5ef7b71164ff9057a0a66ca2304aef8.tar.bz2
42-cub3d-6a312852a5ef7b71164ff9057a0a66ca2304aef8.tar.xz
42-cub3d-6a312852a5ef7b71164ff9057a0a66ca2304aef8.tar.zst
42-cub3d-6a312852a5ef7b71164ff9057a0a66ca2304aef8.zip
Removed useless comments
-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);
}