Elimination of warning for unused function code_name() in non-debug mode.

parent 0cf6e38c
...@@ -1455,6 +1455,7 @@ static void copy_str_and_move(const char **src, ...@@ -1455,6 +1455,7 @@ static void copy_str_and_move(const char **src,
} }
#ifndef DBUG_OFF
static char const * static char const *
code_name(int code) code_name(int code)
{ {
...@@ -1473,6 +1474,7 @@ code_name(int code) ...@@ -1473,6 +1474,7 @@ code_name(int code)
sprintf(buf, "CODE#%d", code); sprintf(buf, "CODE#%d", code);
return buf; return buf;
} }
#endif
/** /**
Macro to check that there is enough space to read from memory. Macro to check that there is enough space to read from memory.
......
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