mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-15 01:40:31 +00:00
logging: fix unused variable warning when disabling debug logs.
The var was NULL anyway, bacause of the ifdefs there, the message makes no sense including it.
This commit is contained in:
parent
659102e04a
commit
e778c5fd8b
1 changed files with 2 additions and 3 deletions
|
@ -979,8 +979,8 @@ gst_base_transform_acceptcaps (GstPad * pad, GstCaps * caps)
|
||||||
GstBaseTransform *trans;
|
GstBaseTransform *trans;
|
||||||
#if 0
|
#if 0
|
||||||
GstPad *otherpad;
|
GstPad *otherpad;
|
||||||
#endif
|
|
||||||
GstCaps *othercaps = NULL;
|
GstCaps *othercaps = NULL;
|
||||||
|
#endif
|
||||||
gboolean ret = TRUE;
|
gboolean ret = TRUE;
|
||||||
|
|
||||||
trans = GST_BASE_TRANSFORM (gst_pad_get_parent (pad));
|
trans = GST_BASE_TRANSFORM (gst_pad_get_parent (pad));
|
||||||
|
@ -1044,8 +1044,7 @@ no_transform_possible:
|
||||||
{
|
{
|
||||||
GST_WARNING_OBJECT (trans,
|
GST_WARNING_OBJECT (trans,
|
||||||
"transform could not transform %" GST_PTR_FORMAT
|
"transform could not transform %" GST_PTR_FORMAT
|
||||||
" in anything we support (othercaps %" GST_PTR_FORMAT ")",
|
" in anything we support", caps);
|
||||||
caps, othercaps);
|
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue