]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
unused
authorRaymond Chandler <intralanman@gmail.com>
Wed, 30 Apr 2014 22:36:40 +0000 (18:36 -0400)
committerRaymond Chandler <intralanman@gmail.com>
Wed, 30 Apr 2014 22:36:44 +0000 (18:36 -0400)
src/mod/applications/mod_translate/mod_translate.c

index b711815e349c890bfe2ac82de759455836bc3c19..2ece5084d29b29084458b019f4053903c3ef86c5 100644 (file)
@@ -88,7 +88,6 @@ static switch_status_t load_config(void)
 
                                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Replace number matching [%s] with [%s]\n", regex, replace);
                                        if (rules_list == NULL) {
-                                               rules_list = switch_core_alloc(globals.pool, sizeof(translate_rule_t));
                                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "starting with an empty list\n");
                                                rules_list = this_rule;
                                        } else {