mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
Ensure configuration options correctly initialised in repmgrd.c
Per GitHub #150. Also remove unused variable.
This commit is contained in:
@@ -44,11 +44,11 @@
|
||||
|
||||
|
||||
/* Local info */
|
||||
t_configuration_options local_options;
|
||||
t_configuration_options local_options = T_CONFIGURATION_OPTIONS_INITIALIZER;
|
||||
PGconn *my_local_conn = NULL;
|
||||
|
||||
/* Master info */
|
||||
t_configuration_options master_options;
|
||||
t_configuration_options master_options = T_CONFIGURATION_OPTIONS_INITIALIZER;
|
||||
|
||||
PGconn *master_conn = NULL;
|
||||
|
||||
@@ -61,8 +61,6 @@ bool failover_done = false;
|
||||
|
||||
char *pid_file = NULL;
|
||||
|
||||
t_configuration_options config = T_CONFIGURATION_OPTIONS_INITIALIZER;
|
||||
|
||||
static void help(void);
|
||||
static void usage(void);
|
||||
static void check_cluster_configuration(PGconn *conn);
|
||||
|
||||
Reference in New Issue
Block a user