mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
1d42bdca13
commit
2c6dbae423
3 changed files with 0 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue