From a6874341ddfde31a161501993224f453875a2bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Thu, 16 Feb 2023 13:35:21 +0200 Subject: [PATCH] MDEV-22570 fixup: Silence clang -Wunneeded-internal-declaration --- sql/wsrep_plugin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/wsrep_plugin.cc b/sql/wsrep_plugin.cc index bbfd3dc3fab..f062f005ad5 100644 --- a/sql/wsrep_plugin.cc +++ b/sql/wsrep_plugin.cc @@ -39,6 +39,7 @@ static bool provider_plugin_enabled= false; /* Prototype for provider system variables */ static char *dummy_str= 0; +__attribute__((unused)) static MYSQL_SYSVAR_STR(proto_string, dummy_str, 0, 0, 0, 0, "");