mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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:
parent
3077b801bd
commit
f884a2a7de
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue