diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 086cdea6dd..91ae56a049 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Wed Feb 11 11:15:31 CST 2009 +Wed Feb 11 11:15:57 CST 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c b/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c index 63f720c354..8923c69446 100644 --- a/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c +++ b/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c @@ -156,7 +156,6 @@ typedef union { */ struct su_timer_s { - /** Pointers within red-black tree */ su_task_r sut_task; /**< Task reference */ size_t sut_heap_index; /**< Timer is set (inserted in heap) */ su_time_t sut_when; /**< When timer should be waken up next time */ @@ -219,8 +218,6 @@ su_timer_set0(su_timer_queue_t *timers, { int retval; - assert(timers); - if (timers == NULL) return -1; @@ -343,9 +340,6 @@ int su_timer_set_interval(su_timer_t *t, { su_timer_queue_t *timers = su_timer_tree(t, 0, "su_timer_set_interval"); - if (t == NULL) - return -1; - return su_timer_set0(timers, t, wakeup, arg, su_now(), interval); } @@ -367,9 +361,6 @@ int su_timer_set(su_timer_t *t, { su_timer_queue_t *timers = su_timer_tree(t, 1, "su_timer_set"); - if (timers == NULL) - return -1; - return su_timer_set0(timers, t, wakeup, arg, su_now(), t->sut_duration); } @@ -391,9 +382,6 @@ int su_timer_set_at(su_timer_t *t, { su_timer_queue_t *timers = su_timer_tree(t, 0, "su_timer_set_at"); - if (timers == NULL) - return -1; - return su_timer_set0(timers, t, wakeup, arg, when, 0); }