diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 20:36:59 -0200 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 20:36:59 -0200 |
commit | 1040f98ccffccbed8d1e95fe8252e402b8ee4e3f (patch) | |
tree | 5560db90147dedcfccab23a9d59fb20480b93f51 /sql/my_decimal.h | |
parent | 7406b38efa0a2eec5a245839c5ce13b85d51d125 (diff) | |
download | mariadb-git-1040f98ccffccbed8d1e95fe8252e402b8ee4e3f.tar.gz |
Bug#45288: pb2 returns a lot of compilation warnings
Tag or remove unused arguments and variables.
regex/main.c:
Use the real prototype.
sql/ha_ndbcluster.cc:
Make conditions less ambiguous.
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r-- | sql/my_decimal.h | 2 |
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); |