diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 16:42:26 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 16:42:26 +0100 |
commit | 54ba606da7ceeee18c4084efe8aa1821aca7525f (patch) | |
tree | 447a6aef0e1925d88f6c838cc711717c54be990e | |
parent | Deleted gnl security for norm (diff) | |
download | 42-cub3d-54ba606da7ceeee18c4084efe8aa1821aca7525f.tar.gz 42-cub3d-54ba606da7ceeee18c4084efe8aa1821aca7525f.tar.bz2 42-cub3d-54ba606da7ceeee18c4084efe8aa1821aca7525f.tar.xz 42-cub3d-54ba606da7ceeee18c4084efe8aa1821aca7525f.tar.zst 42-cub3d-54ba606da7ceeee18c4084efe8aa1821aca7525f.zip |
Removed useless file
-rw-r--r-- | src/ft_check_empty_line.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ft_check_empty_line.c b/src/ft_check_empty_line.c deleted file mode 100644 index 5f98f7d..0000000 --- a/src/ft_check_empty_line.c +++ /dev/null @@ -1,20 +0,0 @@ -#include <libft.h> -#include <cub3d.h> - -void -ft_check_empty_line(int fd, unsigned int linum, t_cub *clist) -{ - char *line; - - if (get_next_line(fd, &line) <= 0) - { - ft_memdel(line); - ft_map_error(linum, clist); - } - if (*line) - { - ft_memdel(line); - ft_map_error(linum, clist); - } - ft_memdel(line); -} |