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
This commit is contained in:
Debarshi Ray 2011-06-15 01:55:31 +05:30 committed by Tim-Philipp Müller
parent 1d42bdca13
commit 2c6dbae423
3 changed files with 0 additions and 14 deletions

View file

@ -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);

View file

@ -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) {

View file

@ -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;
}