From e764d1b4219e6615a04df1c3a6a5c0210a0a7dac Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Sun, 12 Mar 2023 21:20:59 +0000 Subject: patch 9.0.1403: unused variables and functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Unused variables and functions. Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145) --- src/optionstr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/optionstr.c') 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) /* -- cgit v1.2.1