mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
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.
This commit is contained in:
parent
2a00bdeb4a
commit
39a4985520
33 changed files with 107 additions and 113 deletions
|
|
@ -49,8 +49,7 @@ extern "C" {
|
|||
*/
|
||||
|
||||
|
||||
int _my_b_net_read(register IO_CACHE *info, uchar *Buffer,
|
||||
size_t Count __attribute__((unused)))
|
||||
int _my_b_net_read(IO_CACHE *info, uchar *Buffer, size_t)
|
||||
{
|
||||
ulong read_length;
|
||||
NET *net= &(current_thd)->net;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue