summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2013-12-30 16:29:54 +0100
committerEdward Hervey <bilboed@bilboed.com>2013-12-30 16:29:54 +0100
commit5d52548056b05a0a2fb7fd901c6b8623c2a1b642 (patch)
treedd74707e5ac3f38249be7295d3e47d4f43b7202f
parent973bdcef5d88569057bffb7fdf87540a2f27101f (diff)
gnloperation: Remove dead code
ret is only set before leaving the loop. COVERITY CID 1139661 COVERITY CID 1139662
-rw-r--r--gnl/gnloperation.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gnl/gnloperation.c b/gnl/gnloperation.c
index 249c604..dcc811f 100644
--- a/gnl/gnloperation.c
+++ b/gnl/gnloperation.c
@@ -498,9 +498,6 @@ get_unused_static_sink_pad (GnlOperation * operation)
break;
}
case GST_ITERATOR_RESYNC:
- if (ret)
- gst_object_unref (ret);
- ret = NULL;
gst_iterator_resync (pads);
break;
default:
@@ -553,9 +550,6 @@ get_unlinked_sink_ghost_pad (GnlOperation * operation)
break;
}
case GST_ITERATOR_RESYNC:
- if (ret)
- gst_object_unref (ret);
- ret = NULL;
gst_iterator_resync (pads);
break;
default: