Commit 2c6dbae4 authored by Debarshi Ray's avatar Debarshi Ray Committed by Tim-Philipp Müller
Browse files

Remove unused but set variables

This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
parent 1d42bdca
......@@ -750,10 +750,6 @@ static void
gst_base_rtp_depayload_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)
{
GstBaseRTPDepayload *filter;
filter = GST_BASE_RTP_DEPAYLOAD (object);
switch (prop_id) {
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
......@@ -765,10 +761,6 @@ static void
gst_base_rtp_depayload_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec)
{
GstBaseRTPDepayload *filter;
filter = GST_BASE_RTP_DEPAYLOAD (object);
switch (prop_id) {
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
......
......@@ -471,10 +471,8 @@ gst_rtp_buffer_unmap (GstRTPBuffer * rtp)
void
gst_rtp_buffer_set_packet_len (GstRTPBuffer * rtp, guint len)
{
guint oldlen;
guint8 *data;
oldlen = rtp->size;
data = rtp->data;
if (rtp->maxsize <= len) {
......
......@@ -149,10 +149,6 @@ gst_tcp_client_sink_finalize (GObject * gobject)
static gboolean
gst_tcp_client_sink_setcaps (GstBaseSink * bsink, GstCaps * caps)
{
GstTCPClientSink *sink;
sink = GST_TCP_CLIENT_SINK (bsink);
return TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment