From 45178c19d8a6b4cb93623093b2add247faab6844 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 21 May 2016 21:04:19 -0400 Subject: [PATCH] Fix compiler warning For a char * variable, '\0' is just a strange way to write NULL, and clang warns about it. --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index dccac61c..6a63c0a0 100644 --- a/config.c +++ b/config.c @@ -28,7 +28,7 @@ static void parse_event_notifications_list(t_configuration_options *options, con static void tablespace_list_append(t_configuration_options *options, const char *arg); static void exit_with_errors(ErrorList *config_errors); -const static char *_progname = '\0'; +const static char *_progname = NULL; static char config_file_path[MAXPGPATH]; static bool config_file_provided = false; bool config_file_found = false;