mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 23:56:29 +00:00
Ensure configuration options correctly initialised in repmgrd.c
Per GitHub #150. Also remove unused variable.
This commit is contained in:
2
config.c
2
config.c
@@ -240,6 +240,8 @@ parse_config(t_configuration_options *options)
|
||||
options->witness_repl_nodes_sync_interval_secs = 30;
|
||||
|
||||
memset(options->event_notification_command, 0, sizeof(options->event_notification_command));
|
||||
options->event_notifications.head = NULL;
|
||||
options->event_notifications.tail = NULL;
|
||||
|
||||
options->tablespace_mapping.head = NULL;
|
||||
options->tablespace_mapping.tail = NULL;
|
||||
|
||||
Reference in New Issue
Block a user