Commit f884a2a7 authored by Edward Hervey's avatar Edward Hervey 🤘

gstcaps: Remove dead code.

Those two lines will never be called, because caps2 will always be NULL
if we go to error (either we haven't used it yet (first goto and in this
case it's NULL), or.. it's NULL (second goto)).
parent 3077b801
......@@ -302,8 +302,6 @@ error:
PyErr_Clear ();
if (caps1 && !caps1_is_copy)
gst_caps_unref (caps1);
if (caps2 && !caps2_is_copy)
gst_caps_unref (caps2);
return 1;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment