From 08dce587032f08c5bfbc2790bdb2d668ca1990c1 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 5 Feb 2020 17:26:10 +0100 Subject: int16_tamer --- src/ft_get_res.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ft_get_res.c') diff --git a/src/ft_get_res.c b/src/ft_get_res.c index 649ab23..5e3dc06 100644 --- a/src/ft_get_res.c +++ b/src/ft_get_res.c @@ -30,7 +30,9 @@ static int8_t int8_t ft_get_res(char **words, t_cub *clist) { - t_win *wlist = clist->wlist; + t_win *wlist; + + wlist = clist->wlist; if (!(*words + 0) || !(*(words + 1)) || !(*(words + 2)) || (*(words + 3))) return (-1); -- cgit v1.2.3