From fee40e27738122d5c7d7916a1cfa8cd2b5a20186 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 31 Mar 2010 21:37:45 +0300 Subject: Fixed some compiler warnings include/m_ctype.h: MY_UNICASE_INFO already includes 'const' plugin/auth/dialog.c: Fixed parameters to have correct signed/unsigned type sql/sql_acl.cc: old_password_plugin is not used for EMBEDDED_LIBRARY storage/pbxt/src/ha_pbxt.cc: Remove not used variable --- sql/sql_acl.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sql/sql_acl.cc') diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 453af413cb0..ad6583b92f6 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -161,7 +161,10 @@ static LEX_STRING old_password_plugin_name= { /// @todo make it configurable LEX_STRING *default_auth_plugin_name= &native_password_plugin_name; -static plugin_ref native_password_plugin, old_password_plugin; +static plugin_ref native_password_plugin; +#ifndef EMBEDDED_LIBRARY +static plugin_ref old_password_plugin; +#endif /* Classes */ -- cgit v1.2.1