mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Various compier warnings
gcc 5.4 and 7.1, Debug and Release builds
This commit is contained in:
@ -634,9 +634,6 @@ bool ROLE_GRANT_PAIR::init(MEM_ROOT *mem, char *username,
|
||||
char *hostname, char *rolename,
|
||||
bool with_admin_option)
|
||||
{
|
||||
if (!this)
|
||||
return true;
|
||||
|
||||
size_t uname_l = safe_strlen(username);
|
||||
size_t hname_l = safe_strlen(hostname);
|
||||
size_t rname_l = safe_strlen(rolename);
|
||||
@ -10516,7 +10513,6 @@ bool check_role_is_granted(const char *username,
|
||||
DBUG_RETURN(result);
|
||||
}
|
||||
|
||||
|
||||
int fill_schema_enabled_roles(THD *thd, TABLE_LIST *tables, COND *cond)
|
||||
{
|
||||
TABLE *table= tables->table;
|
||||
|
Reference in New Issue
Block a user