[vlc-commits] cli: remove dead code

Rémi Denis-Courmont git at videolan.org
Sun Oct 18 12:24:04 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:31:16 2020 +0300| [1802f38bcc22e529dd8d125bc8f188a73e7496ea] | committer: Rémi Denis-Courmont

cli: remove dead code

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

 modules/control/cli/cli.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/modules/control/cli/cli.c b/modules/control/cli/cli.c
index 3355c98349..a9dcf436b5 100644
--- a/modules/control/cli/cli.c
+++ b/modules/control/cli/cli.c
@@ -525,12 +525,7 @@ static void *Run( void *data )
         i_size = 0; p_buffer[0] = 0;
     }
 
-    msg_rc( STATUS_CHANGE "( stop state: 0 )" );
-    msg_rc( STATUS_CHANGE "( quit )" );
-
-    vlc_restorecancel( canc );
-
-    return NULL;
+    vlc_assert_unreachable();
 }
 
 /*****************************************************************************



More information about the vlc-commits mailing list