summaryrefslogtreecommitdiff
path: root/gst/y4m
diff options
context:
space:
mode:
authorDebarshi Ray <rishi@gnu.org>2011-05-30 17:54:26 +0530
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-06-04 20:26:02 +0100
commit335293bf50e74fd9a4053d7441b301aafd0428c5 (patch)
tree651c2ec552fb2d5be571217185d19d6fe11c8031 /gst/y4m
parent23576af52aabee13181c03df056450411378a489 (diff)
downloadgstreamer-plugins-bad-335293bf50e74fd9a4053d7441b301aafd0428c5.tar.gz
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
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mdec.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c
index 0be92a8d6..8065bd3d5 100644
--- a/gst/y4m/gsty4mdec.c
+++ b/gst/y4m/gsty4mdec.c
@@ -146,10 +146,7 @@ void
gst_y4m_dec_set_property (GObject * object, guint property_id,
const GValue * value, GParamSpec * pspec)
{
- GstY4mDec *y4mdec;
-
g_return_if_fail (GST_IS_Y4M_DEC (object));
- y4mdec = GST_Y4M_DEC (object);
switch (property_id) {
default:
@@ -162,10 +159,7 @@ void
gst_y4m_dec_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
{
- GstY4mDec *y4mdec;
-
g_return_if_fail (GST_IS_Y4M_DEC (object));
- y4mdec = GST_Y4M_DEC (object);
switch (property_id) {
default:
@@ -194,10 +188,7 @@ gst_y4m_dec_dispose (GObject * object)
void
gst_y4m_dec_finalize (GObject * object)
{
- GstY4mDec *y4mdec;
-
g_return_if_fail (GST_IS_Y4M_DEC (object));
- y4mdec = GST_Y4M_DEC (object);
/* clean up object here */
@@ -207,11 +198,9 @@ gst_y4m_dec_finalize (GObject * object)
static GstStateChangeReturn
gst_y4m_dec_change_state (GstElement * element, GstStateChange transition)
{
- GstY4mDec *y4mdec;
GstStateChangeReturn ret;
g_return_val_if_fail (GST_IS_Y4M_DEC (element), GST_STATE_CHANGE_FAILURE);
- y4mdec = GST_Y4M_DEC (element);
switch (transition) {
case GST_STATE_CHANGE_NULL_TO_READY: