diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-02-16 13:35:21 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-02-16 13:35:21 +0200 |
commit | a6874341ddfde31a161501993224f453875a2bd9 (patch) | |
tree | e6bdcb84c903dde5b04b42cfef97f685cf745a60 | |
parent | 2e431ff7e69d9c887777cc597ccf5cfb446e13d8 (diff) | |
download | mariadb-git-a6874341ddfde31a161501993224f453875a2bd9.tar.gz |
MDEV-22570 fixup: Silence clang -Wunneeded-internal-declaration
-rw-r--r-- | sql/wsrep_plugin.cc | 1 |
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, ""); |