mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
remove unused var
This commit is contained in:
parent
8cda2d19dd
commit
691f7935e7
@ -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)
|
static int switch_system_fork(const char *cmd, switch_bool_t wait)
|
||||||
{
|
{
|
||||||
int pid, i;
|
int pid;
|
||||||
char *dcmd = strdup(cmd);
|
char *dcmd = strdup(cmd);
|
||||||
|
|
||||||
switch_core_set_signal_handlers();
|
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);
|
switch_close_extra_files(NULL, 0);
|
||||||
|
|
||||||
set_low_priority();
|
set_low_priority();
|
||||||
i = system(dcmd);
|
system(dcmd);
|
||||||
free(dcmd);
|
free(dcmd);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user