summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-02-16 13:35:21 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-02-16 13:35:21 +0200
commita6874341ddfde31a161501993224f453875a2bd9 (patch)
treee6bdcb84c903dde5b04b42cfef97f685cf745a60
parent2e431ff7e69d9c887777cc597ccf5cfb446e13d8 (diff)
downloadmariadb-git-a6874341ddfde31a161501993224f453875a2bd9.tar.gz
MDEV-22570 fixup: Silence clang -Wunneeded-internal-declaration
-rw-r--r--sql/wsrep_plugin.cc1
1 files changed, 1 insertions, 0 deletions
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, "");