Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
opentv: fix complation with --disable-trace
  • Loading branch information
perexg committed Jan 26, 2015
1 parent ee66809 commit 62e2971
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/epggrab/module/opentv.c
Expand Up @@ -446,7 +446,10 @@ opentv_desc_channels
epggrab_channel_link_t *ecl;
mpegts_service_t *svc;
channel_t *ch;
int sid, type, cid, cnum, unk;
int sid, cid, cnum, unk;
#if ENABLE_TRACE
int type;
#endif
int save = 0;
int i = 2;

Expand All @@ -464,7 +467,9 @@ opentv_desc_channels

while (i < len) {
sid = ((int)buf[i] << 8) | buf[i+1];
#if ENABLE_TRACE
type = buf[2];
#endif
cid = ((int)buf[i+3] << 8) | buf[i+4];
cnum = ((int)buf[i+5] << 8) | buf[i+6];
unk = ((int)buf[i+7] << 8) | buf[i+8];
Expand Down

0 comments on commit 62e2971

Please sign in to comment.