controller: fix compiler warning in interpolation control source
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 27 Dec 2011 11:24:48 +0000 (11:24 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 27 Dec 2011 11:24:48 +0000 (11:24 +0000)
gstinterpolationcontrolsource.c:54: warning: type qualifiers ignored
on function return type

https://bugzilla.gnome.org/show_bug.cgi?id=666890

libs/gst/controller/gstinterpolationcontrolsource.c

index cdda526..f0d67a3 100644 (file)
@@ -49,7 +49,7 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
 
 /*  steps-like (no-)interpolation, default */
 /*  just returns the value for the most recent key-frame */
-static inline const gdouble
+static inline gdouble
 _interpolate_none (GstTimedValueControlSource * self, GSequenceIter * iter)
 {
   GstControlPoint *cp = g_sequence_get (iter);