mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
Fix compiler warning
For a char * variable, '\0' is just a strange way to write NULL, and clang warns about it.
This commit is contained in:
2
config.c
2
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 tablespace_list_append(t_configuration_options *options, const char *arg);
|
||||||
static void exit_with_errors(ErrorList *config_errors);
|
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 char config_file_path[MAXPGPATH];
|
||||||
static bool config_file_provided = false;
|
static bool config_file_provided = false;
|
||||||
bool config_file_found = false;
|
bool config_file_found = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user