mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-27229 fixup: GCC -Wunused-function
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user