summaryrefslogtreecommitdiff
path: root/ext/sndfile
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2011-07-18 14:53:31 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-07-20 13:11:53 -0400
commite8d24859ca5629198c581b570402e9a459839d7c (patch)
tree3850a621cea61362bdc7afb243f001e55104118c /ext/sndfile
parent2b7e9abc59b4bb03a490797688348bb77b3d0e46 (diff)
downloadgstreamer-plugins-bad-e8d24859ca5629198c581b570402e9a459839d7c.tar.gz
Fix compilation for unused but not set
https://bugzilla.gnome.org/show_bug.cgi?id=654572
Diffstat (limited to 'ext/sndfile')
-rw-r--r--ext/sndfile/gstsfsrc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/sndfile/gstsfsrc.c b/ext/sndfile/gstsfsrc.c
index f725d3f5b..226f54085 100644
--- a/ext/sndfile/gstsfsrc.c
+++ b/ext/sndfile/gstsfsrc.c
@@ -200,7 +200,10 @@ gst_sf_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
{
GstSFSrc *this;
GstBuffer *buf;
+/* FIXME discont is set but not used */
+#if 0
gboolean discont = FALSE;
+#endif
sf_count_t bytes_read;
this = GST_SF_SRC (bsrc);
@@ -221,7 +224,9 @@ gst_sf_src_create (GstBaseSrc * bsrc, guint64 offset, guint length,
goto seek_failed;
this->offset = offset;
+#if 0
discont = TRUE;
+#endif
}
buf = gst_buffer_new_and_alloc (length);