diff options
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 08f0a41af..45c43f685 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -5302,6 +5302,7 @@ f_getwinposx(typval_T *argvars UNUSED, typval_T *rettv) if (gui_mch_get_winpos(&x, &y) == OK) rettv->vval.v_number = x; + return; } #endif #if defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE) @@ -5328,6 +5329,7 @@ f_getwinposy(typval_T *argvars UNUSED, typval_T *rettv) if (gui_mch_get_winpos(&x, &y) == OK) rettv->vval.v_number = y; + return; } #endif #if defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE) @@ -7715,6 +7717,7 @@ static int mkdir_recurse(char_u *dir, int prot); /* * Create the directory in which "dir" is located, and higher levels when * needed. + * Return OK or FAIL. */ static int mkdir_recurse(char_u *dir, int prot) |