diff options
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 69a674d2c4..f49bcb843d 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -13075,7 +13075,7 @@ f_test_option_not_set(typval_T *argvars, typval_T *rettv UNUSED) EMSG(_(e_invarg)); else { - name = get_tv_string_chk(&argvars[0]); + name = get_tv_string(&argvars[0]); if (reset_option_was_set(name) == FAIL) EMSG2(_(e_invarg2), name); } |