Remove a "register" keyword from C++ code

The register keyword has no effect in C++, and it has been deprecated
in newer versions of the standard.
This commit is contained in:
Marko Mäkelä 2018-05-08 10:40:05 +03:00
parent a536664e80
commit 4513de3127

View file

@ -1514,7 +1514,7 @@ cleanup:
ulong read_to_buffer(IO_CACHE *fromfile, BUFFPEK *buffpek,
uint rec_length)
{
register ulong count;
ulong count;
ulong length= 0;
if ((count= (ulong) MY_MIN((ha_rows) buffpek->max_keys,buffpek->count)))