gst/gstdebugutils.c: Reflow code to fix uninitialized variable warning.

Original commit message from CVS:
* gst/gstdebugutils.c:
Reflow code to fix uninitialized variable warning.
This commit is contained in:
Stefan Kost 2007-10-22 11:10:28 +00:00
parent 0e3a0fdf35
commit 442f15bac2
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2007-10-22 Stefan Kost <ensonic@users.sf.net>
* gst/gstdebugutils.c:
Reflow code to fix uninitialized variable warning.
2007-10-22 Edgard Lima <edgard.lima@indt.org.br> 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
* gst/gstcaps.c: (gst_caps_to_string), * gst/gstcaps.c: (gst_caps_to_string),
@ -21,7 +26,6 @@
API: add gst_value_set_structure() API: add gst_value_set_structure()
API: add gst_value_get_structure() API: add gst_value_get_structure()
2007-10-19 Tim-Philipp Müller <tim at centricular dot net> 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbus.c: * gst/gstbus.c:

View file

@ -250,11 +250,10 @@ debug_dump_element (GstBin * bin, GstDebugGraphDetails details, FILE * out,
if ((caps = gst_pad_get_negotiated_caps (pad))) { if ((caps = gst_pad_get_negotiated_caps (pad))) {
free_caps = TRUE; free_caps = TRUE;
} else { } else {
if ((caps = free_caps = FALSE;
if (!(caps =
(GstCaps *) (GstCaps *)
gst_pad_get_pad_template_caps (pad))) { gst_pad_get_pad_template_caps (pad))) {
free_caps = FALSE;
} else {
/* this should not happen */ /* this should not happen */
media = "?"; media = "?";
} }