Skip to content

Commit

Permalink
freeswitch_scripting: Remove dead code
Browse files Browse the repository at this point in the history
(cherry picked from commit 13d77ed)
  • Loading branch information
liviuchircu committed Feb 1, 2019
1 parent 76c0231 commit b6e6d4f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/freeswitch_scripting/fss_mod.c
Expand Up @@ -119,9 +119,6 @@ static int fs_sub_add_url(modparam_t type, void *string)
struct str_dlist *strl;
str url = {string, strlen(string)};

if (!startup_fs_subs.next)
INIT_LIST_HEAD(&startup_fs_subs);

strl = shm_malloc(sizeof *strl);
if (!strl) {
LM_ERR("oom\n");
Expand Down

0 comments on commit b6e6d4f

Please sign in to comment.