diff options
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r-- | src/vim9execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c index 398c94c42a..c910dbc96b 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -1169,12 +1169,12 @@ call_def_function( n = tv->vval.v_number; msg = set_option_value(iptr->isn_arg.storeopt.so_name, n, s, iptr->isn_arg.storeopt.so_flags); + clear_tv(tv); if (msg != NULL) { emsg(_(msg)); goto failed; } - clear_tv(tv); } break; |