summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-07-05 19:26:48 +0200
committerSergei Golubchik <serg@mariadb.org>2017-07-07 20:13:44 +0200
commit5789934fda10aeba1ea2a562e503767e950a322d (patch)
treee64aa11473847ec2a9b729ca6edb824bd4b771d0
parent42f657cd2fab9acb00b15e00c7cc630f64ecc6ec (diff)
downloadmariadb-git-5789934fda10aeba1ea2a562e503767e950a322d.tar.gz
compilation warning
-rw-r--r--libmysqld/libmysql.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmysqld/libmysql.c b/libmysqld/libmysql.c
index 09a477d04ee..d1176a4168c 100644
--- a/libmysqld/libmysql.c
+++ b/libmysqld/libmysql.c
@@ -122,7 +122,9 @@ typedef struct st_mysql_stmt_extension
1 could not initialize environment (out of memory or thread keys)
*/
-int STDCALL mysql_server_init(int argc, char **argv, char **groups)
+int STDCALL mysql_server_init(int argc __attribute__((unused)),
+ char **argv __attribute__((unused)),
+ char **groups __attribute__((unused)))
{
int result= 0;
if (!mysql_client_init)