Commit 6e1f5f6e authored by mats@kindahl-laptop.dnsalias.net's avatar mats@kindahl-laptop.dnsalias.net
Browse files

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

parent 0cf6e38c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.