mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
Following of commit 9350fb96
Fix "variable set but not used"
This commit is contained in:
parent
2f950634ab
commit
062f07f5c9
@ -885,7 +885,7 @@ void *skypopen_do_tcp_srv_thread_func(void *obj)
|
|||||||
unsigned int fdselect;
|
unsigned int fdselect;
|
||||||
int rt=1;
|
int rt=1;
|
||||||
fd_set fs;
|
fd_set fs;
|
||||||
struct timeval to;
|
//struct timeval to;
|
||||||
int nospace;
|
int nospace;
|
||||||
|
|
||||||
if (!(running && tech_pvt->running))
|
if (!(running && tech_pvt->running))
|
||||||
@ -893,8 +893,8 @@ void *skypopen_do_tcp_srv_thread_func(void *obj)
|
|||||||
fdselect = fd;
|
fdselect = fd;
|
||||||
FD_ZERO(&fs);
|
FD_ZERO(&fs);
|
||||||
FD_SET(fdselect, &fs);
|
FD_SET(fdselect, &fs);
|
||||||
to.tv_usec = MS_SKYPOPEN * 1000 * 3;
|
//to.tv_usec = MS_SKYPOPEN * 1000 * 3;
|
||||||
to.tv_sec = 0;
|
//to.tv_sec = 0;
|
||||||
|
|
||||||
if (tech_pvt->timer_read_srv.timer_interface && tech_pvt->timer_read_srv.timer_interface->timer_next) {
|
if (tech_pvt->timer_read_srv.timer_interface && tech_pvt->timer_read_srv.timer_interface->timer_next) {
|
||||||
switch_core_timer_next(&tech_pvt->timer_read_srv);
|
switch_core_timer_next(&tech_pvt->timer_read_srv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user