diff --git a/repmgr.c b/repmgr.c index c77fe7d2..86d21737 100644 --- a/repmgr.c +++ b/repmgr.c @@ -116,7 +116,7 @@ static char *repmgr_slot_name_ptr = NULL; static char path_buf[MAXLEN] = ""; /* Collate command line errors here for friendlier reporting */ -static ErrorList cli_errors; +static ErrorList cli_errors = { NULL, NULL }; int main(int argc, char **argv)