[gst-cvs] gstreamer: gst-inspect: remove dead assignment

Edward Hervey bilboed at kemper.freedesktop.org
Sat Apr 4 05:44:14 PDT 2009


Module: gstreamer
Branch: master
Commit: 5142a046562fb9c257c70771c620211df6f38af5
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=5142a046562fb9c257c70771c620211df6f38af5

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Sat Apr  4 14:42:04 2009 +0200

gst-inspect: remove dead assignment

first_flag will be either:
* rewritten without being read if we loop again (line 284)
* not read again if we don't loop

---

 tools/gst-inspect.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
index 227e5ed..99730b2 100644
--- a/tools/gst-inspect.c
+++ b/tools/gst-inspect.c
@@ -302,8 +302,6 @@ print_element_properties_info (GstElement * element)
     if (param->flags & GST_PARAM_CONTROLLABLE) {
       if (!first_flag)
         g_print (", ");
-      else
-        first_flag = FALSE;
       g_print (_("controllable"));
     }
     n_print ("\n");





More information about the Gstreamer-commits mailing list