summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-10-19 20:36:59 -0200
committerDavi Arnaut <davi.arnaut@oracle.com>2010-10-19 20:36:59 -0200
commit39e9bde2c0baed472d915f2404cacd6dd63cbbe6 (patch)
tree5560db90147dedcfccab23a9d59fb20480b93f51 /sql/my_decimal.h
parent71a8764af54c4fbba2d81f222065ac6ffc01250d (diff)
downloadmariadb-git-39e9bde2c0baed472d915f2404cacd6dd63cbbe6.tar.gz
Bug#45288: pb2 returns a lot of compilation warnings
Tag or remove unused arguments and variables.
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r--sql/my_decimal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h
index 21669e82c44..a5077f397e3 100644
--- a/sql/my_decimal.h
+++ b/sql/my_decimal.h
@@ -308,7 +308,7 @@ int my_decimal2int(uint mask, const my_decimal *d, my_bool unsigned_flag,
inline
-int my_decimal2double(uint mask, const my_decimal *d, double *result)
+int my_decimal2double(uint, const my_decimal *d, double *result)
{
/* No need to call check_result as this will always succeed */
return decimal2double((decimal_t*) d, result);