aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_music.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 01:02:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 01:02:32 +0100
commit9f35e7fab50809cd74e3bfffff67a81023abc837 (patch)
tree8ed891643db7c95aa7f72a1bab2a5f02efbbd078 /src/ft_get_music.c
parentLooks like I have to pthread this shit (diff)
download42-cub3d-9f35e7fab50809cd74e3bfffff67a81023abc837.tar.gz
42-cub3d-9f35e7fab50809cd74e3bfffff67a81023abc837.tar.bz2
42-cub3d-9f35e7fab50809cd74e3bfffff67a81023abc837.tar.xz
42-cub3d-9f35e7fab50809cd74e3bfffff67a81023abc837.tar.zst
42-cub3d-9f35e7fab50809cd74e3bfffff67a81023abc837.zip
I need a macOS
Diffstat (limited to 'src/ft_get_music.c')
-rw-r--r--src/ft_get_music.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ft_get_music.c b/src/ft_get_music.c
index 7a8d36f..7e6c6be 100644
--- a/src/ft_get_music.c
+++ b/src/ft_get_music.c
@@ -27,9 +27,6 @@ static int8_t
return (-1);
ft_sprintf(mlist->music_cmd, FT_SND_CMD,
mlist->music_path);
- ft_free_words(mlist->mcmd_words);
- if (!(mlist->mcmd_words = ft_split(mlist->music_cmd, ' ')))
- return (-1);
return (0);
}