mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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;
|
||||
#if 0
|
||||
GstPad *otherpad;
|
||||
#endif
|
||||
GstCaps *othercaps = NULL;
|
||||
#endif
|
||||
gboolean ret = TRUE;
|
||||
|
||||
trans = GST_BASE_TRANSFORM (gst_pad_get_parent (pad));
|
||||
|
@ -1044,8 +1044,7 @@ no_transform_possible:
|
|||
{
|
||||
GST_WARNING_OBJECT (trans,
|
||||
"transform could not transform %" GST_PTR_FORMAT
|
||||
" in anything we support (othercaps %" GST_PTR_FORMAT ")",
|
||||
caps, othercaps);
|
||||
" in anything we support", caps);
|
||||
ret = FALSE;
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue