From bf8b88cdddffc8360a6adb46c1a8ebd46d72e833 Mon Sep 17 00:00:00 2001 From: Raymond Chandler Date: Wed, 14 May 2014 19:37:57 +0000 Subject: [PATCH] CID: 1210583 --- src/switch_config.c | 4 ---- 1 file changed, 4 deletions(-) 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;