diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2023-03-12 21:20:59 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-03-12 21:20:59 +0000 |
commit | e764d1b4219e6615a04df1c3a6a5c0210a0a7dac (patch) | |
tree | 547326cc9cf10d5de85ba975470b076aafe02d89 /src/optionstr.c | |
parent | d13dd30240e32071210f55b587182ff48757ea46 (diff) | |
download | vim-git-e764d1b4219e6615a04df1c3a6a5c0210a0a7dac.tar.gz |
patch 9.0.1403: unused variables and functionsv9.0.1403
Problem: Unused variables and functions.
Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
Diffstat (limited to 'src/optionstr.c')
-rw-r--r-- | src/optionstr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/optionstr.c b/src/optionstr.c index f88325cec..8aec38573 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -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) /* |