]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2086: code cleanup for option callbacks needed v9.0.2086
authorzeertzjq <zeertzjq@outlook.com>
Thu, 2 Nov 2023 20:01:19 +0000 (21:01 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Nov 2023 20:01:19 +0000 (21:01 +0100)
commitdeba02ddd46e9e8adfe2f7800c6be19d8c8e1a4d
tree3ba3c10ae5e18aa06d8bb5f211deaffbe9f58d9d
parent2b358adde079d7cc8a7f42fcd5627866641c9a59
patch 9.0.2086: code cleanup for option callbacks needed

Problem:  code cleanup for option callbacks needed
Solution: remove flag os_doskip, it's not necessary, as we can check,
          whether an error message was returned

Remove unnecessary field os_doskip

Callback functions for boolean options set os_doskip immediately before
returning an error message, so os_doskip isn't actually needed.

closes: #13461

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/option.c
src/structs.h
src/version.c