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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user