summaryrefslogtreecommitdiff
path: root/mysys/my_static.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2008-08-29 21:50:04 +0200
committerSergei Golubchik <serg@mysql.com>2008-08-29 21:50:04 +0200
commit2b917502c1cd78699ee99b4cd6d388fcff29d76a (patch)
tree7da5e06cde36df4392bc8effd8b8bcda236ec8b0 /mysys/my_static.c
parent49aa944ffb06a3f0bb2b6fd9d5d6fd776686ce01 (diff)
downloadmariadb-git-2b917502c1cd78699ee99b4cd6d388fcff29d76a.tar.gz
added __attribute__((unused))
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r--mysys/my_static.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mysys/my_static.c b/mysys/my_static.c
index 4dc965e8a20..a82c9bf518c 100644
--- a/mysys/my_static.c
+++ b/mysys/my_static.c
@@ -92,8 +92,11 @@ int (*error_handler_hook)(uint error,const char *str,myf MyFlags)=
int (*fatal_error_handler_hook)(uint error,const char *str,myf MyFlags)=
my_message_no_curses;
-static const char *proc_info_dummy(void *a, const char *b, const char *c,
- const char *d, const unsigned int e)
+static const char *proc_info_dummy(void *a __attribute__((unused)),
+ const char *b __attribute__((unused)),
+ const char *c __attribute__((unused)),
+ const char *d __attribute__((unused)),
+ const unsigned int e __attribute__((unused)))
{
return 0;
}