1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Bug#45288: pb2 returns a lot of compilation warnings on linux

Fix compiler warnings.
This commit is contained in:
Davi Arnaut
2010-07-30 17:33:10 -03:00
parent 70928da9a6
commit e260cc3ff2
2 changed files with 3 additions and 4 deletions

View File

@ -86,7 +86,9 @@ void my_print_stacktrace(uchar* stack_bottom __attribute__((unused)),
#if BACKTRACE_DEMANGLE
char __attribute__ ((weak)) *my_demangle(const char *mangled_name, int *status)
char __attribute__ ((weak)) *
my_demangle(const char *mangled_name __attribute__((unused)),
int *status __attribute__((unused)))
{
return NULL;
}