[vlc-commits] misc: medialibrary: remove unnecessary variables
Filip Roséen
git at videolan.org
Fri Jul 20 11:12:06 CEST 2018
vlc | branch: master | Filip Roséen <filip at atch.se> | Wed Jul 18 11:07:04 2018 +0200| [f8db2610baadce5b301ad541524d08801a5ded34] | committer: Hugo Beauzée-Luyssen
misc: medialibrary: remove unnecessary variables
(cherry picked from commit 45a46f65b07f47ab01c7916c6ffb07585172af22)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8db2610baadce5b301ad541524d08801a5ded34
---
modules/misc/medialibrary/medialib.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/misc/medialibrary/medialib.cpp b/modules/misc/medialibrary/medialib.cpp
index e8390892bd..191411c99e 100644
--- a/modules/misc/medialibrary/medialib.cpp
+++ b/modules/misc/medialibrary/medialib.cpp
@@ -203,8 +203,7 @@ bool MediaLibrary::Start()
}
ml->addParserService( std::make_shared<MetadataExtractor>( m_obj ) );
- auto res = ml->start();
- if ( res == false )
+ if ( ml->start() == false )
{
msg_Err( m_obj, "Failed to start the MediaLibrary" );
return false;
More information about the vlc-commits
mailing list