0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1403: unused variables and functions

Problem:    Unused variables and functions.
Solution:   Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
This commit is contained in:
Dominique Pelle
2023-03-12 21:20:59 +00:00
committed by Bram Moolenaar
parent d13dd30240
commit e764d1b421
13 changed files with 38 additions and 26 deletions

View File

@@ -429,6 +429,8 @@ set_string_option_direct(
# endif
}
#if defined(FEAT_PROP_POPUP) || \
(defined(FEAT_DIFF) && defined(FEAT_FOLDING)) || defined(PROTO)
/*
* Like set_string_option_direct(), but for a window-local option in "wp".
* Blocks autocommands to avoid the old curwin becoming invalid.
@@ -452,6 +454,7 @@ set_string_option_direct_in_win(
curbuf = curwin->w_buffer;
unblock_autocmds();
}
#endif
#if defined(FEAT_PROP_POPUP) || defined(PROTO)
/*