mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
Elimination of warning for unused function code_name() in non-debug mode.
This commit is contained in:
parent
8cc379ebab
commit
c1b3466f79
1 changed files with 2 additions and 0 deletions
|
|
@ -1455,6 +1455,7 @@ static void copy_str_and_move(const char **src,
|
|||
}
|
||||
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
static char const *
|
||||
code_name(int code)
|
||||
{
|
||||
|
|
@ -1473,6 +1474,7 @@ code_name(int code)
|
|||
sprintf(buf, "CODE#%d", code);
|
||||
return buf;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
Macro to check that there is enough space to read from memory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue