From: Philip H. <47042125+pheiduck@users.noreply.github.com> Date: Sun, 11 May 2025 13:01:31 +0000 (+0200) Subject: patch 9.1.1382: if_ruby: unused compiler warnings from ruby internals X-Git-Tag: v9.1.1382^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411730e277c408f89c82ae7dbb1ebfa71ec0f4e5;p=thirdparty%2Fvim.git patch 9.1.1382: if_ruby: unused compiler warnings from ruby internals Problem: if_ruby: unused compiler warnings from ruby internals Solution: disable -Wunused-parameter for if_ruby internal code (Philip H.) closes: #17297 Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt --- diff --git a/src/if_ruby.c b/src/if_ruby.c index 52f54f3df6..b769adfa2f 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -107,7 +107,10 @@ # undef SIZEOF_TIME_T #endif +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" #include +#pragma GCC diagnostic pop #include // See above. diff --git a/src/version.c b/src/version.c index 449a358b6b..816ce5c15a 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1382, /**/ 1381, /**/