[vlc-commits] lua/sd: remove dead code

Rémi Denis-Courmont git at videolan.org
Tue Jul 7 22:04:00 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul  7 19:31:36 2015 +0300| [946799995cbfaec903204be42f05857ec74d9d94] | committer: Rémi Denis-Courmont

lua/sd: remove dead code

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

 modules/lua/services_discovery.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/lua/services_discovery.c b/modules/lua/services_discovery.c
index 62ea9ec..b18b3d5 100644
--- a/modules/lua/services_discovery.c
+++ b/modules/lua/services_discovery.c
@@ -25,6 +25,7 @@
 # include "config.h"
 #endif
 
+#include <assert.h>
 #include <vlc_common.h>
 #include <vlc_services_discovery.h>
 
@@ -231,9 +232,8 @@ static void* Run( void *data )
 
         vlc_mutex_lock( &p_sys->lock );
     }
-    vlc_cleanup_run();
-
-    return NULL;
+    vlc_cleanup_pop();
+    vlc_assert_unreachable();
 }
 
 /*****************************************************************************



More information about the vlc-commits mailing list