summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-31 17:41:01 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-31 17:41:01 +0100
commitdd1f426bd617ac6a775f2e7795ff0b159e3fa315 (patch)
tree4ff4b05181d01272e12a482a91dec6a6ef5095bc /src/spell.c
parentca2f7e7af32d51c2be378a5298bc85958c877653 (diff)
downloadvim-git-dd1f426bd617ac6a775f2e7795ff0b159e3fa315.tar.gz
patch 8.2.2254: Vim9: bool option type is numberv8.2.2254
Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes #7583)
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index b474a38b3..d43056660 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -3813,7 +3813,7 @@ ex_spelldump(exarg_T *eap)
if (no_spell_checking(curwin))
return;
- get_option_value((char_u*)"spl", &dummy, &spl, OPT_LOCAL);
+ (void)get_option_value((char_u*)"spl", &dummy, &spl, OPT_LOCAL);
// Create a new empty buffer in a new window.
do_cmdline_cmd((char_u *)"new");