diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-01-25 09:00:18 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-01-25 09:00:18 +0200 |
commit | 93756c992f18e86e380cb02078c4ba4cea123e5a (patch) | |
tree | ff3941b4f087333a47477d1ff8c3b66a7bf85894 | |
parent | 050508672cbf711356e236b492104d3b9a6b1fb8 (diff) | |
download | mariadb-git-93756c992f18e86e380cb02078c4ba4cea123e5a.tar.gz |
MDEV-27229 fixup: GCC -Wunused-function
-rw-r--r-- | sql/opt_histogram_json.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/opt_histogram_json.cc b/sql/opt_histogram_json.cc index de0b4ebab50..a749bc27e6e 100644 --- a/sql/opt_histogram_json.cc +++ b/sql/opt_histogram_json.cc @@ -1081,12 +1081,14 @@ void Histogram_json_hb::serialize(Field *field) } +#ifndef DBUG_OFF static int SGN(int x) { if (!x) return 0; return (x < 0)? -1 : 1; } +#endif /* |