From 6ba9077ba573f70be552993bc1f5247ccc772ddd Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 4 Oct 2017 09:56:49 +0900 Subject: [PATCH] Initialise variable to empty string --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 9c9fa1b5..d3a2140e 100644 --- a/config.c +++ b/config.c @@ -30,7 +30,7 @@ static void tablespace_list_append(t_configuration_options *options, const char static void exit_with_errors(ItemList *config_errors); const static char *_progname = NULL; -static char config_file_path[MAXPGPATH]; +static char config_file_path[MAXPGPATH] = ""; static bool config_file_provided = false; bool config_file_found = false;