From 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 18 Apr 2009 18:11:00 +0200 Subject: Remove trivial unused variables detected by CLang static analyzer. --- gst/rtp/gstrtpmp4gpay.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gst/rtp/gstrtpmp4gpay.c') diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index 05b5b716..1ad8e1c6 100644 --- a/gst/rtp/gstrtpmp4gpay.c +++ b/gst/rtp/gstrtpmp4gpay.c @@ -528,9 +528,6 @@ gst_rtp_mp4g_pay_handle_buffer (GstBaseRTPPayload * basepayload, GstBuffer * buffer) { GstRtpMP4GPay *rtpmp4gpay; - GstFlowReturn ret; - - ret = GST_FLOW_OK; rtpmp4gpay = GST_RTP_MP4G_PAY (basepayload); @@ -539,9 +536,7 @@ gst_rtp_mp4g_pay_handle_buffer (GstBaseRTPPayload * basepayload, /* we always encode and flush a full AU */ gst_adapter_push (rtpmp4gpay->adapter, buffer); - ret = gst_rtp_mp4g_pay_flush (rtpmp4gpay); - - return ret; + return gst_rtp_mp4g_pay_flush (rtpmp4gpay); } gboolean -- cgit