playback/player: gst-play: Remove useless variable initializations
authorSebastian Dröge <sebastian@centricular.com>
Thu, 27 Aug 2015 07:53:43 +0000 (10:53 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 27 Aug 2015 07:54:52 +0000 (10:54 +0300)
They are set to something in the next line anyway.

playback/player/gst-play/gst-play.c

index 6fa304e..ed7e1dd 100644 (file)
@@ -236,7 +236,7 @@ print_all_stream_info (GstPlayerMediaInfo * media_info)
 static void
 print_all_video_stream (GstPlayerMediaInfo * media_info)
 {
-  GList *list = NULL, *l;
+  GList *list, *l;
 
   list = gst_player_get_video_streams (media_info);
   if (!list)
@@ -255,7 +255,7 @@ print_all_video_stream (GstPlayerMediaInfo * media_info)
 static void
 print_all_subtitle_stream (GstPlayerMediaInfo * media_info)
 {
-  GList *list = NULL, *l;
+  GList *list, *l;
 
   list = gst_player_get_subtitle_streams (media_info);
   if (!list)
@@ -274,7 +274,7 @@ print_all_subtitle_stream (GstPlayerMediaInfo * media_info)
 static void
 print_all_audio_stream (GstPlayerMediaInfo * media_info)
 {
-  GList *list = NULL, *l;
+  GList *list, *l;
 
   list = gst_player_get_audio_streams (media_info);
   if (!list)