gst/gstdebugutils.c: Remove some code that is unused after Stefan's refactoring and uses uninitialized variables now,...

Original commit message from CVS:
* gst/gstdebugutils.c: (debug_dump_element_pad):
Remove some code that is unused after Stefan's refactoring and uses
uninitialized variables now, resulting in a compiler warning.
This commit is contained in:
Sebastian Dröge 2008-05-02 10:12:33 +00:00
parent 2d8bbf7127
commit 64b6f63c64
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
* gst/gstdebugutils.c: (debug_dump_element_pad):
Remove some code that is unused after Stefan's refactoring and uses
uninitialized variables now, resulting in a compiler warning.
2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst/gstregistry.c: (gst_registry_scan_path_level):

View file

@ -126,7 +126,6 @@ debug_dump_element_pad (GstPad * pad, GstElement * element,
GstElement *target_element;
GstPad *target_pad, *tmp_pad;
GstPadDirection dir;
guint src_pads, sink_pads;
gchar *pad_name, *element_name;
gchar *target_pad_name, *target_element_name;
gchar *color_name;
@ -176,10 +175,6 @@ debug_dump_element_pad (GstPad * pad, GstElement * element,
"%s %s_%s [color=black, fillcolor=\"%s\", label=\"%s\"];\n",
spc, element_name, pad_name, color_name, GST_OBJECT_NAME (pad));
if (dir == GST_PAD_SRC)
src_pads++;
else if (dir == GST_PAD_SINK)
sink_pads++;
g_free (pad_name);
g_free (element_name);