[vlc-commits] input/input: remove unused legacy variable

Filip Roséen git at videolan.org
Thu Nov 17 10:26:23 CET 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu Nov 17 10:25:15 2016 +0100| [ae0cb07a82384200b2e1fa1902f0fcfa2f1c84ae] | committer: Pierre Ynard

input/input: remove unused legacy variable

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.

Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

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

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

diff --git a/src/input/input.c b/src/input/input.c
index b183f7d..e440c50 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 */



More information about the vlc-commits mailing list