From 1e84a8792302f0446e8eb838f478b4a6564d1011 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 23:42:05 +0100 Subject: I think we good --- src/ft_get_topsp.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/ft_get_topsp.c') diff --git a/src/ft_get_topsp.c b/src/ft_get_topsp.c index ee16714..84339c3 100644 --- a/src/ft_get_topsp.c +++ b/src/ft_get_topsp.c @@ -18,13 +18,15 @@ void ft_get_topsp(char c, t_cub *clist) { - int8_t x; + (void)c; + (void)clist; + /* int8_t x; */ - if ((x = ft_strlchr(FT_CHRST_SPRITES, c)) > 0) - { - if ((x + 2) > clist->mlist.topsp) - { - clist->mlist.topsp = x + 2; - } - } + /* if ((x = ft_strlchr(FT_CHRST_SPRITES, c)) > 0) */ + /* { */ + /* if ((x + 2) > clist->mlist.topsp) */ + /* { */ + /* clist->mlist.topsp = x + 2; */ + /* } */ + /* } */ } -- cgit v1.2.3