Commit 93756c99 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-27229 fixup: GCC -Wunused-function

parent 05050867
...@@ -1081,12 +1081,14 @@ void Histogram_json_hb::serialize(Field *field) ...@@ -1081,12 +1081,14 @@ void Histogram_json_hb::serialize(Field *field)
} }
#ifndef DBUG_OFF
static int SGN(int x) static int SGN(int x)
{ {
if (!x) if (!x)
return 0; return 0;
return (x < 0)? -1 : 1; return (x < 0)? -1 : 1;
} }
#endif
/* /*
......
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