static
char health_unix_sock_path[PATH_MAX];
-int health_quit_pipe[2];
+int health_quit_pipe[2] = { -1, -1 };
/*
* Check if the thread quit pipe was triggered.
int setup_health_path(void)
{
int is_root, ret = 0;
- char *home_path = NULL, *rundir = NULL, *relayd_path = NULL;
+ const char *home_path = NULL;
+ char *rundir = NULL, *relayd_path = NULL;
ret = parse_health_env();
if (ret) {