diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-04-11 13:38:59 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-04-11 13:38:59 +0300 |
commit | b17ae3df4726af06b97173d0fac3801621765b0d (patch) | |
tree | 86a337352fab2b542465922faec100b8c71a789b | |
parent | c9f4070bfb2d880f478ea4ad6d9dfcfd931309d8 (diff) | |
download | xine-lib-b17ae3df4726af06b97173d0fac3801621765b0d.tar.gz xine-lib-b17ae3df4726af06b97173d0fac3801621765b0d.tar.bz2 |
Fixed warnings
-rw-r--r-- | src/input/input_dvb.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 6b791d355..0ae209eca 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -1412,7 +1412,7 @@ static void* epg_data_updater(void *t) { EPG OSD of all channels found in the currently tuned stream. */ static void load_epg_data(dvb_input_plugin_t *this) { - int table_id; + /*int table_id;*/ char skip_byte; int descriptor_id; int section_len = 0; @@ -1455,7 +1455,7 @@ static void load_epg_data(dvb_input_plugin_t *this) return; } n = read(this->tuner->fd_pidfilter[EITFILTER], eit, 3); - table_id = getbits(eit, 0, 8); + /*table_id =*/ getbits(eit, 0, 8); section_len = (unsigned int)getbits(eit, 12, 12); n = read(this->tuner->fd_pidfilter[EITFILTER], eit + 3, section_len); @@ -1540,10 +1540,10 @@ static void load_epg_data(dvb_input_plugin_t *this) switch(descriptor_id) { case 0x4D: { /* simple program info descriptor */ int name_len; - int desc_len; + /*int desc_len;*/ xine_cfg_entry_t language; - desc_len = getbits(eit, 0, 8); + /*desc_len =*/ getbits(eit, 0, 8); /* Let's get the EPG data only in the wanted language. */ @@ -2491,7 +2491,6 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen, uint8_t *buf = buf_gen; off_t n=0, total=0; - int have_mutex=0; struct pollfd pfd; if (!this->tuned_in) @@ -2504,7 +2503,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen, #endif /* protect against channel changes */ - have_mutex = pthread_mutex_lock(&this->channel_change_mutex); + pthread_mutex_lock(&this->channel_change_mutex); total=0; while (total<len){ |