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)).
This commit is contained in:
Edward Hervey 2009-03-05 13:59:30 +01:00
parent 3077b801bd
commit f884a2a7de

View file

@ -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;
}