1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fixed compiler warnings

This commit is contained in:
Michael Widenius
2016-04-07 20:09:57 +03:00
parent 031e3442f8
commit 2189df3cdd
3 changed files with 9 additions and 10 deletions

View File

@@ -1122,7 +1122,6 @@ static enum enum_server_command fetch_command(THD *thd, char *packet)
{
enum enum_server_command
command= (enum enum_server_command) (uchar) packet[0];
NET *net= &thd->net;
DBUG_ENTER("fetch_command");
if (command >= COM_END ||
@@ -1130,7 +1129,7 @@ static enum enum_server_command fetch_command(THD *thd, char *packet)
command= COM_END; // Wrong command
DBUG_PRINT("info",("Command on %s = %d (%s)",
vio_description(net->vio), command,
vio_description(thd->net.vio), command,
command_name[command].str));
DBUG_RETURN(command);
}