[vlc-commits] lib: unused variable
Rémi Denis-Courmont
git at videolan.org
Sun Sep 21 10:40:03 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 18 18:07:46 2014 +0300| [3674097b8fa2a6690a015d83e385fd9bd305ff65] | committer: Rémi Denis-Courmont
lib: unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3674097b8fa2a6690a015d83e385fd9bd305ff65
---
lib/vlm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/vlm.c b/lib/vlm.c
index 4c75ef6..4f808c8 100644
--- a/lib/vlm.c
+++ b/lib/vlm.c
@@ -768,7 +768,7 @@ int libvlc_vlm_get_media_instance_seekable( libvlc_instance_t *p_instance,
libvlc_event_manager_t *
libvlc_vlm_get_event_manager( libvlc_instance_t *p_instance )
{
- vlm_t *p_vlm;
- VLM_RET( p_vlm, NULL);
+ if( libvlc_vlm_init( p_instance ) )
+ return NULL;
return p_instance->libvlc_vlm.p_event_manager;
}
More information about the vlc-commits
mailing list