diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-14 16:39:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-06-14 16:39:54 +0100 |
commit | 4c7cb372c17a84c8a35254d93eb37cb854cd39da (patch) | |
tree | ea5cfdba66516bd04a26c9b44df27160c7aa3fa0 /src/proto | |
parent | 8d687a7424b33b7ad7f6778b0c5d092a44f4bc3a (diff) |
patch 9.0.1631: passing wrong variable type to option gives multiple errorsv9.0.1631
Problem: Passing a wrong variable type to an option gives multiple errors.
Solution: Bail out early on failure. (closes #12504)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/option.pro | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/proto/option.pro b/src/proto/option.pro index 7ec531032b..871efc3b51 100644 --- a/src/proto/option.pro +++ b/src/proto/option.pro @@ -105,7 +105,6 @@ char_u *get_term_code(char_u *tname); char_u *get_highlight_default(void); char_u *get_encoding_default(void); int is_option_allocated(char *name); -int is_string_option(char_u *name); int makeset(FILE *fd, int opt_flags, int local_only); int makefoldset(FILE *fd); void clear_termoptions(void); |