[vlc-devel] [PATCH] input/input: remove unused legacy variable

Filip Roséen filip at atch.se
Thu Nov 17 07:03:09 CET 2016


psz_timer_name was introduced as part of bf117f4 (2008-04), but the
usage of the variable was removed in e3a897c (2011-11); as such it
does not longer serve a purpose.
---
 src/input/input.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 8fcb61e..398f122 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -287,15 +287,9 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
 
     input_thread_t *p_input = &priv->input;
 
-    /* Construct a nice name for the input timer */
-    char psz_timer_name[255];
     char * psz_name = input_item_GetName( p_item );
-    snprintf( psz_timer_name, sizeof(psz_timer_name),
-              "input launching for '%s'", psz_name );
-
     msg_Dbg( p_input, "Creating an input for %s'%s'",
              b_preparsing ? "preparsing " : "", psz_name);
-
     free( psz_name );
 
     /* Parse input options */
-- 
2.10.2



More information about the vlc-devel mailing list