From 53b990c65db031a4547f86e9026057c02c4cb5f1 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 10 Mar 2015 15:59:53 +0900 Subject: [PATCH] Initialize cli_errors --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)