提交 691f7935 authored 作者: Anthony Minessale's avatar Anthony Minessale

remove unused var

上级 8cda2d19
......@@ -2457,7 +2457,7 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait)
static int switch_system_fork(const char *cmd, switch_bool_t wait)
{
int pid, i;
int pid;
char *dcmd = strdup(cmd);
switch_core_set_signal_handlers();
......@@ -2473,7 +2473,7 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait)
switch_close_extra_files(NULL, 0);
set_low_priority();
i = system(dcmd);
system(dcmd);
free(dcmd);
exit(0);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论