[vlc-commits] input: remove unused function

Thomas Guillem git at videolan.org
Fri Jul 13 09:35:50 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jul 13 09:29:17 2018 +0200| [43f0c48c50636686d73e5bd00b6a9566fec3ed74] | committer: Thomas Guillem

input: remove unused function

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

 src/input/var.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/input/var.c b/src/input/var.c
index c35bd40ba2..ecab7011ff 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -86,7 +86,6 @@ typedef struct
 } vlc_input_callback_t;
 
 static void InputAddCallbacks( input_thread_t *, const vlc_input_callback_t * );
-static void InputDelCallbacks( input_thread_t *, const vlc_input_callback_t * );
 
 #ifdef CALLBACK /* For windows */
 # undef CALLBACK /* We don't care of this one here */
@@ -781,16 +780,6 @@ static void InputAddCallbacks( input_thread_t *p_input,
                          p_callbacks[i].callback, NULL );
 }
 
-static void InputDelCallbacks( input_thread_t *p_input,
-                               const vlc_input_callback_t *p_callbacks )
-{
-    int i;
-    for( i = 0; p_callbacks[i].psz_name != NULL; i++ )
-        var_DelCallback( p_input,
-                         p_callbacks[i].psz_name,
-                         p_callbacks[i].callback, NULL );
-}
-
 /*****************************************************************************
  * All Callbacks:
  *****************************************************************************/



More information about the vlc-commits mailing list