summaryrefslogtreecommitdiff
path: root/sql/sql_plugin_services.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-01-20 13:00:46 +0100
committerSergei Golubchik <sergii@pisem.net>2011-01-20 13:00:46 +0100
commit7effc175cefb50a1ba6c1b034a0b255234c87595 (patch)
tree6abd4f691bb6412d6ab53cd4d0e2771181a0a5ee /sql/sql_plugin_services.h
parent785517dfe633c76221ea741d8c2280f8a62dd299 (diff)
downloadmariadb-git-7effc175cefb50a1ba6c1b034a0b255234c87595.tar.gz
lp:705210 - Compiling with BUILD/compile-pentium64-debug fails
support building with -all-static (no dlopen and dlclose make few related declarations unused or "statement have no effect") and -Werror
Diffstat (limited to 'sql/sql_plugin_services.h')
-rw-r--r--sql/sql_plugin_services.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_plugin_services.h b/sql/sql_plugin_services.h
index 7491ddab79d..14a2a16561a 100644
--- a/sql/sql_plugin_services.h
+++ b/sql/sql_plugin_services.h
@@ -36,7 +36,7 @@ static struct thd_alloc_service_st thd_alloc_handler= {
thd_make_lex_string
};
-static struct st_service_ref list_of_services[]=
+static struct st_service_ref list_of_services[] __attribute__((unused)) =
{
{ "my_snprintf_service", VERSION_my_snprintf, &my_snprintf_handler },
{ "thd_alloc_service", VERSION_thd_alloc, &thd_alloc_handler }