summaryrefslogtreecommitdiff
path: root/ext/modplug
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/modplug
parent2b7e9abc59b4bb03a490797688348bb77b3d0e46 (diff)
Fix compilation for unused but not set
https://bugzilla.gnome.org/show_bug.cgi?id=654572
Diffstat (limited to 'ext/modplug')
-rw-r--r--ext/modplug/gstmodplug.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc
index b6b59eb12..6faaa0c83 100644
--- a/ext/modplug/gstmodplug.cc
+++ b/ext/modplug/gstmodplug.cc
@@ -370,15 +370,20 @@ gst_modplug_src_event (GstPad * pad, GstEvent * event)
GstSeekType cur_type, stop_type;
gboolean flush;
gint64 cur, stop;
+/* FIXME timestamp is set but not used */
+#if 0
guint64 timestamp;
+#endif
if (modplug->frequency == 0) {
GST_DEBUG_OBJECT (modplug, "no song loaded yet");
break;
}
+#if 0
timestamp = gst_util_uint64_scale_int (modplug->offset, GST_SECOND,
modplug->frequency);
+#endif
gst_event_parse_seek (event, &rate, &format, &flags,
&cur_type, &cur, &stop_type, &stop);