Fix undeclared identifier when HAVE_READLINK is not defined

This commit is contained in:
Magnus Kokk 2020-11-22 13:38:16 +02:00
parent aec61074a9
commit f348923934

View File

@ -7044,7 +7044,7 @@ static void f_resolve(typval_T *argvars, typval_T *rettv, FunPtr fptr)
xfree(buf);
}
# else
rettv->vval.v_string = (char_u *)xstrdup(p);
rettv->vval.v_string = (char_u *)xstrdup(fname);
# endif
#endif