From: Christian Brabandt Date: Thu, 2 Jul 2026 17:52:00 +0000 (+0000) Subject: patch 9.2.0764: Compiler warning about unused function X-Git-Tag: v9.2.0764^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a43d123f4b42d16726cf81a75ed16b7a5412525;p=thirdparty%2Fvim.git patch 9.2.0764: Compiler warning about unused function Problem: Compiler warning about unused function (Tony Mechelynck, after v9.2.0762) Solution: Add ifdefs Signed-off-by: Christian Brabandt --- diff --git a/src/optionstr.c b/src/optionstr.c index d2ce36e76f..b656288cb5 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -1131,6 +1131,7 @@ did_set_ambiwidth(optset_T *args UNUSED) return check_chars_options(); } +#if defined(FEAT_TABPANEL) || defined(FEAT_DIFF) || defined(FEAT_PROP_POPUP) static bool completing_value_for_subopt(optexpand_T *args, char *name_suffix) { @@ -1140,6 +1141,7 @@ completing_value_for_subopt(optexpand_T *args, char *name_suffix) return colon - args->oe_set_arg >= len && STRNCMP(colon - len, name_suffix, len) == 0; } +#endif int expand_set_ambiwidth(optexpand_T *args, int *numMatches, char_u ***matches) diff --git a/src/version.c b/src/version.c index 910a5b3910..09f4dc2c47 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 764, /**/ 763, /**/