Commit 2b917502 authored by Sergei Golubchik's avatar Sergei Golubchik

added __attribute__((unused))

parent 49aa944f
...@@ -92,8 +92,11 @@ int (*error_handler_hook)(uint error,const char *str,myf MyFlags)= ...@@ -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)= int (*fatal_error_handler_hook)(uint error,const char *str,myf MyFlags)=
my_message_no_curses; my_message_no_curses;
static const char *proc_info_dummy(void *a, const char *b, const char *c, static const char *proc_info_dummy(void *a __attribute__((unused)),
const char *d, const unsigned int e) const char *b __attribute__((unused)),
const char *c __attribute__((unused)),
const char *d __attribute__((unused)),
const unsigned int e __attribute__((unused)))
{ {
return 0; return 0;
} }
......
...@@ -51,7 +51,7 @@ void test_concurrently(const char *test, pthread_handler handler, int n, int m) ...@@ -51,7 +51,7 @@ void test_concurrently(const char *test, pthread_handler handler, int n, int m)
ok(!bad, "tested %s in %g secs (%d)", test, ((double)now)/1e7, bad); ok(!bad, "tested %s in %g secs (%d)", test, ((double)now)/1e7, bad);
} }
int main(int argc, char **argv) int main(int argc __attribute__((unused)), char **argv)
{ {
MY_INIT("thd_template"); MY_INIT("thd_template");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment