mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6650 - LINT_INIT emits code in non-debug builds
Replaced all references to LINT_INIT with UNINIT_VAR and LINT_INIT_STRUCT. Removed LINT_INIT macro.
This commit is contained in:
@ -859,12 +859,11 @@ mysql_list_fields(MYSQL *mysql, const char *table, const char *wild)
|
||||
MYSQL_RES * STDCALL
|
||||
mysql_list_processes(MYSQL *mysql)
|
||||
{
|
||||
MYSQL_DATA *fields;
|
||||
MYSQL_DATA *UNINIT_VAR(fields);
|
||||
uint field_count;
|
||||
uchar *pos;
|
||||
DBUG_ENTER("mysql_list_processes");
|
||||
|
||||
LINT_INIT(fields);
|
||||
if (simple_command(mysql,COM_PROCESS_INFO,0,0,0))
|
||||
DBUG_RETURN(0);
|
||||
free_old_query(mysql);
|
||||
|
Reference in New Issue
Block a user