Always initialise t_conninfo_param_list structures

This commit is contained in:
Ian Barwick
2018-02-13 09:08:40 +09:00
parent dfdebd6c08
commit cf64f9e95c
5 changed files with 16 additions and 13 deletions

View File

@@ -1148,7 +1148,7 @@ build_cluster_crosscheck(t_node_status_cube ***dest_cube, int *name_length)
}
else
{
t_conninfo_param_list remote_conninfo;
t_conninfo_param_list remote_conninfo = T_CONNINFO_PARAM_LIST_INITIALIZER;
char *host = NULL;
PQExpBufferData quoted_command;