diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:11:00 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:28 +0200 |
commit | 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch) | |
tree | 24b178742be806e745b7a3891aa0d63920c364b4 /gst/rtp/gstrtpsirenpay.c | |
parent | cdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff) |
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/rtp/gstrtpsirenpay.c')
-rw-r--r-- | gst/rtp/gstrtpsirenpay.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpsirenpay.c b/gst/rtp/gstrtpsirenpay.c index e47b2715..b03281b0 100644 --- a/gst/rtp/gstrtpsirenpay.c +++ b/gst/rtp/gstrtpsirenpay.c @@ -110,7 +110,6 @@ gst_rtpsirenpay_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps) { GstRTPSirenPay *rtpsirenpay; GstBaseRTPAudioPayload *basertpaudiopayload; - gboolean ret; gint dct_length; GstStructure *structure; const char *payload_name; @@ -133,9 +132,7 @@ gst_rtpsirenpay_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps) /* set options for this frame based audio codec */ gst_base_rtp_audio_payload_set_frame_options (basertpaudiopayload, 20, 40); - ret = gst_basertppayload_set_outcaps (basertppayload, NULL); - - return TRUE; + return gst_basertppayload_set_outcaps (basertppayload, NULL); /* ERRORS */ wrong_dct: |