mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-25 05:20:31 +00:00
compiler warning fix
Original commit message from CVS: compiler warning fix
This commit is contained in:
parent
0efe35c326
commit
11e28c0146
2 changed files with 1 additions and 3 deletions
|
@ -133,8 +133,6 @@ gst_element_factory_cleanup (GstElementFactory *factory)
|
|||
padtemplates = factory->padtemplates;
|
||||
|
||||
while (padtemplates) {
|
||||
GstPadTemplate *oldtempl = GST_PAD_TEMPLATE (padtemplates->data);
|
||||
|
||||
/* We leak the padtemplates, since they're generally not properly
|
||||
* ref'ed by the factories */
|
||||
/* gst_object_unref (GST_OBJECT (oldtempl)); */
|
||||
|
|
|
@ -1311,7 +1311,7 @@ gst_pad_get_ghost_pad_list (GstPad *pad)
|
|||
static GstPadLinkReturn
|
||||
gst_pad_try_set_caps_func (GstRealPad *pad, GstCaps *caps, gboolean notify)
|
||||
{
|
||||
GstCaps *oldcaps, *allowed = NULL;
|
||||
GstCaps *allowed = NULL;
|
||||
GstPadTemplate *template;
|
||||
GstElement *parent = GST_PAD_PARENT (pad);
|
||||
|
||||
|
|
Loading…
Reference in a new issue