diff options
Diffstat (limited to 'src/ft_get_res.c')
-rw-r--r-- | src/ft_get_res.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |