diff options
author | Debarshi Ray <rishi@gnu.org> | 2011-05-30 17:54:26 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-06-04 20:26:02 +0100 |
commit | 335293bf50e74fd9a4053d7441b301aafd0428c5 (patch) | |
tree | 651c2ec552fb2d5be571217185d19d6fe11c8031 /sys/decklink | |
parent | 23576af52aabee13181c03df056450411378a489 (diff) | |
download | gstreamer-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 'sys/decklink')
-rw-r--r-- | sys/decklink/gstdecklinksink.cpp | 9 | ||||
-rw-r--r-- | sys/decklink/gstdecklinksrc.cpp | 11 |
2 files changed, 0 insertions, 20 deletions
diff --git a/sys/decklink/gstdecklinksink.cpp b/sys/decklink/gstdecklinksink.cpp index 9fc39e40b..43f78ebcf 100644 --- a/sys/decklink/gstdecklinksink.cpp +++ b/sys/decklink/gstdecklinksink.cpp @@ -314,10 +314,7 @@ void gst_decklink_sink_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { - GstDecklinkSink *decklinksink; - g_return_if_fail (GST_IS_DECKLINK_SINK (object)); - decklinksink = GST_DECKLINK_SINK (object); switch (property_id) { default: @@ -330,10 +327,7 @@ void gst_decklink_sink_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { - GstDecklinkSink *decklinksink; - g_return_if_fail (GST_IS_DECKLINK_SINK (object)); - decklinksink = GST_DECKLINK_SINK (object); switch (property_id) { default: @@ -345,10 +339,7 @@ gst_decklink_sink_get_property (GObject * object, guint property_id, void gst_decklink_sink_dispose (GObject * object) { - GstDecklinkSink *decklinksink; - g_return_if_fail (GST_IS_DECKLINK_SINK (object)); - decklinksink = GST_DECKLINK_SINK (object); /* clean up as possible. may be called multiple times */ diff --git a/sys/decklink/gstdecklinksrc.cpp b/sys/decklink/gstdecklinksrc.cpp index aa4246833..373cd9615 100644 --- a/sys/decklink/gstdecklinksrc.cpp +++ b/sys/decklink/gstdecklinksrc.cpp @@ -303,10 +303,7 @@ void gst_decklink_src_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { - GstDecklinkSrc *decklinksrc; - g_return_if_fail (GST_IS_DECKLINK_SRC (object)); - decklinksrc = GST_DECKLINK_SRC (object); switch (property_id) { default: @@ -319,10 +316,7 @@ void gst_decklink_src_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { - GstDecklinkSrc *decklinksrc; - g_return_if_fail (GST_IS_DECKLINK_SRC (object)); - decklinksrc = GST_DECKLINK_SRC (object); switch (property_id) { default: @@ -334,10 +328,7 @@ gst_decklink_src_get_property (GObject * object, guint property_id, void gst_decklink_src_dispose (GObject * object) { - GstDecklinkSrc *decklinksrc; - g_return_if_fail (GST_IS_DECKLINK_SRC (object)); - decklinksrc = GST_DECKLINK_SRC (object); /* clean up as possible. may be called multiple times */ @@ -495,13 +486,11 @@ gst_decklink_src_stop (GstElement * element) static GstStateChangeReturn gst_decklink_src_change_state (GstElement * element, GstStateChange transition) { - GstDecklinkSrc *decklinksrc; GstStateChangeReturn ret; gboolean no_preroll = FALSE; g_return_val_if_fail (GST_IS_DECKLINK_SRC (element), GST_STATE_CHANGE_FAILURE); - decklinksrc = GST_DECKLINK_SRC (element); switch (transition) { case GST_STATE_CHANGE_NULL_TO_READY: |