[vlc-commits] dtv: fix warning
Lyndon Brown
git at videolan.org
Wed Mar 20 15:34:38 CET 2019
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Mon Mar 18 07:02:25 2019 +0000| [53c006ec9273714513f4ff25f7feef189b3cea8a] | committer: Thomas Guillem
dtv: fix warning
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53c006ec9273714513f4ff25f7feef189b3cea8a
---
modules/access/dtv/linux.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index 1c097620a3..8a8d7206b4 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -476,6 +476,7 @@ static int dvb_open_frontend (dvb_device_t *d)
*/
unsigned dvb_enum_systems (dvb_device_t *d)
{
+ unsigned systems = 0;
if (dvb_open_frontend (d))
return 0;
#if DVBv5(5)
@@ -516,7 +517,6 @@ unsigned dvb_enum_systems (dvb_device_t *d)
//[SYS_TURBO]
[SYS_DVBC_ANNEX_C] = DTV_DELIVERY_ISDB_C, // another name for ISDB-C?
};
- unsigned systems = 0;
msg_Dbg (d->obj, "probing frontend (kernel API v%u.%u, user API v%u.%u)",
prop[0].u.data >> 8, prop[0].u.data & 0xFF,
@@ -546,7 +546,6 @@ legacy:
.num = 1,
.props = prop
};
- unsigned systems = 0;
#endif
if (ioctl (d->frontend, FE_GET_PROPERTY, &props) < 0)
{
More information about the vlc-commits
mailing list