Commit e778c5fd authored by Stefan Kost's avatar Stefan Kost
Browse files

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.
parent 659102e0
......@@ -979,8 +979,8 @@ gst_base_transform_acceptcaps (GstPad * pad, GstCaps * caps)
GstBaseTransform *trans;
#if 0
GstPad *otherpad;
GstCaps *othercaps = NULL;
gboolean ret = TRUE;
trans = GST_BASE_TRANSFORM (gst_pad_get_parent (pad));
......@@ -1044,8 +1044,7 @@ no_transform_possible:
"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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment