]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Following of commit 9350fb96
authorMathieu Parent <math.parent@gmail.com>
Sat, 16 Jul 2011 10:35:25 +0000 (12:35 +0200)
committerMathieu Parent <math.parent@gmail.com>
Sat, 16 Jul 2011 10:35:25 +0000 (12:35 +0200)
Fix "variable set but not used"

src/mod/endpoints/mod_skypopen/skypopen_protocol.c

index 091fb7a57f176ac12161b451757c6663abbe8e57..129e343ba6fb5e394ff21d4eb64173df1ebe0771 100644 (file)
@@ -885,7 +885,7 @@ void *skypopen_do_tcp_srv_thread_func(void *obj)
                                        unsigned int fdselect;
                                        int rt=1;
                                        fd_set fs;
-                                       struct timeval to;
+                                       //struct timeval to;
                                        int nospace;
 
                                        if (!(running && tech_pvt->running))
@@ -893,8 +893,8 @@ void *skypopen_do_tcp_srv_thread_func(void *obj)
                                        fdselect = fd;
                                        FD_ZERO(&fs);
                                        FD_SET(fdselect, &fs);
-                                       to.tv_usec = MS_SKYPOPEN * 1000 * 3;
-                                       to.tv_sec = 0;
+                                       //to.tv_usec = MS_SKYPOPEN * 1000 * 3;
+                                       //to.tv_sec = 0;
 
                                        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);