diff --git a/src/switch_config.c b/src/switch_config.c index 143d7eb34f..476f4560ce 100644 --- a/src/switch_config.c +++ b/src/switch_config.c @@ -50,10 +50,6 @@ SWITCH_DECLARE(int) switch_config_open_file(switch_config_t *cfg, char *file_pat path = path_buf; } - if (!path) { - return 0; - } - memset(cfg, 0, sizeof(*cfg)); cfg->lockto = -1;