warning: 'current_diff' might be used uninitialized in this function

Original commit message from CVS:
warning: 'current_diff' might be used uninitialized in this function
This commit is contained in:
Benjamin Otte 2002-03-06 19:58:19 +00:00
parent 660621ca99
commit 3743cdef5b

View file

@ -231,7 +231,8 @@ gst_dpsmooth_do_update_float (GstDParam *dparam, gint64 timestamp, GValue *value
{
gint64 time_diff;
gfloat time_ratio;
gfloat current, target, max_change, current_diff, final_val;
gfloat current, target, max_change, final_val;
gfloat current_diff = 0;
GstDParamSmooth *dpsmooth = GST_DPSMOOTH(dparam);