cosmetics: removed dead code
This commit is contained in:
parent
39a74172ad
commit
d9b2a2cdbd
2 changed files with 1 additions and 5 deletions
|
@ -339,7 +339,6 @@ typedef struct service {
|
|||
* Teletext...
|
||||
*/
|
||||
th_commercial_advice_t s_tt_commercial_advice;
|
||||
int s_tt_rundown_content_length;
|
||||
time_t s_tt_clock; /* Network clock as determined by teletext decoder */
|
||||
|
||||
/**
|
||||
|
|
|
@ -534,7 +534,7 @@ teletext_rundown_scan(service_t *t, tt_private_t *ttp)
|
|||
{
|
||||
int i;
|
||||
uint8_t *l;
|
||||
time_t now = t->s_tt_clock, start, stop, last = 0;
|
||||
time_t now = t->s_tt_clock, start, stop;
|
||||
th_commercial_advice_t ca;
|
||||
|
||||
if(ttp->ttp_rundown_valid == 0)
|
||||
|
@ -555,8 +555,5 @@ teletext_rundown_scan(service_t *t, tt_private_t *ttp)
|
|||
|
||||
if(start <= now && stop > now)
|
||||
t->s_tt_commercial_advice = ca;
|
||||
|
||||
if(start > now && ca != t->s_tt_commercial_advice && last == 0)
|
||||
last = start;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue