[vlc-commits] dvb: avoid shadowing

Rémi Denis-Courmont git at videolan.org
Sun Jul 23 16:52:54 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:30:46 2017 +0300| [a3581755c618e77722c188a4c1fd01e368494dc0] | committer: Rémi Denis-Courmont

dvb: avoid shadowing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3581755c618e77722c188a4c1fd01e368494dc0
---

 modules/access/dvb/scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 52a9aa0c48..5ef6d08efe 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -693,7 +693,7 @@ static int Scan_Next_DVBT( const scan_parameter_t *p_params, scan_enumeration_t
             p_cfg->i_bandwidth = i_bandwidth;
 
             int i_current = 0, i_total = 0;
-            for( int i = 0; i < i_band_count; i++ )
+            for( i = 0; i < i_band_count; i++ )
             {
                 const int i_frag = band[i].i_max-band[i].i_min;
 



More information about the vlc-commits mailing list