diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-24 12:14:35 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-24 12:48:27 +0300 |
commit | 39a4985520ebeb8c77d657e4624359a484ad330f (patch) | |
tree | 996c5891a58ad1db8921dfd84434fcf7c7b8b232 /sql/uniques.cc | |
parent | 2a00bdeb4a65f9f56372a9f01d8bee21fe58407c (diff) | |
download | mariadb-git-39a4985520ebeb8c77d657e4624359a484ad330f.tar.gz |
Remove most 'register' use in C++
Modern compilers (such as GCC 8) emit warnings that the
'register' keyword is deprecated and not valid C++17.
Let us remove most use of the 'register' keyword.
Code in 'extra/' is not touched.
Diffstat (limited to 'sql/uniques.cc')
-rw-r--r-- | sql/uniques.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/uniques.cc b/sql/uniques.cc index 7def2d79ad7..86622b41351 100644 --- a/sql/uniques.cc +++ b/sql/uniques.cc @@ -209,7 +209,7 @@ static double get_merge_many_buffs_cost(uint *buffer, uint last_n_elems, int elem_size, uint compare_factor) { - register int i; + int i; double total_cost= 0.0; uint *buff_elems= buffer; /* #s of elements in each of merged sequences */ |