removed unnecessary initialization
This commit is contained in:
parent
55203ed0d7
commit
f87a32c66a
|
@ -5478,7 +5478,6 @@ static void ftdm_cpu_monitor_stop(void)
|
||||||
|
|
||||||
FT_DECLARE(ftdm_status_t) ftdm_global_init(void)
|
FT_DECLARE(ftdm_status_t) ftdm_global_init(void)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
memset(&globals, 0, sizeof(globals));
|
memset(&globals, 0, sizeof(globals));
|
||||||
|
|
||||||
time_init();
|
time_init();
|
||||||
|
@ -5504,9 +5503,7 @@ FT_DECLARE(ftdm_status_t) ftdm_global_init(void)
|
||||||
ftdm_log(FTDM_LOG_CRIT, "Failed to run master timing schedule context\n");
|
ftdm_log(FTDM_LOG_CRIT, "Failed to run master timing schedule context\n");
|
||||||
return FTDM_FAIL;
|
return FTDM_FAIL;
|
||||||
}
|
}
|
||||||
for(i=0;i<MAX_CALLIDS;i++) {
|
|
||||||
globals.call_ids[i] = NULL;
|
|
||||||
}
|
|
||||||
globals.running = 1;
|
globals.running = 1;
|
||||||
return FTDM_SUCCESS;
|
return FTDM_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue