projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3077b80
)
gstcaps: Remove dead code.
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 5 Mar 2009 12:59:30 +0000
(13:59 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 5 Mar 2009 12:59:30 +0000
(13:59 +0100)
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)).
gst/gstcaps.override
patch
|
blob
|
history
diff --git
a/gst/gstcaps.override
b/gst/gstcaps.override
index
28ddedb
..
ef300eb
100644
(file)
--- a/
gst/gstcaps.override
+++ b/
gst/gstcaps.override
@@
-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;
}