[vlc-commits] cdda: fix unused variable
Rémi Denis-Courmont
git at videolan.org
Sun Jul 23 16:54:16 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 17:16:20 2017 +0300| [ea2c9b58df6015fca63978d13b9ec7cd3d50f88f] | committer: Rémi Denis-Courmont
cdda: fix unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea2c9b58df6015fca63978d13b9ec7cd3d50f88f
---
modules/access/cdda.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index cd4c1a4c8d..1bba490438 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -404,7 +404,6 @@ error:
static void AccessGetMeta(stream_t *access, vlc_meta_t *meta)
{
access_sys_t *sys = access->p_sys;
- const char *str;
vlc_meta_SetTitle(meta, "Audio CD");
@@ -421,7 +420,7 @@ static void AccessGetMeta(stream_t *access, vlc_meta_t *meta)
#ifdef HAVE_LIBCDDB
if (sys->cddb != NULL)
{
- str = cddb_disc_get_title(sys->cddb);
+ char *str = cddb_disc_get_title(sys->cddb);
if (NONEMPTY(str))
vlc_meta_SetTitle(meta, str);
More information about the vlc-commits
mailing list