Initialize cli_errors

This commit is contained in:
Ian Barwick
2015-03-10 15:59:53 +09:00
parent 1979fe63ca
commit 53b990c65d

View File

@@ -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)