mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed compiler warnings (for linux and win32 and win64)
Fixed a couple of usage of not initialized warnings (unlikely cases)
This commit is contained in:
@ -5021,6 +5021,8 @@ static int handle_grant_struct(uint struct_no, bool drop,
|
||||
user= grant_name->user;
|
||||
host= grant_name->host.hostname;
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
}
|
||||
if (! user)
|
||||
user= "";
|
||||
|
Reference in New Issue
Block a user