diff options
author | Benjamin Otte <otte@gnome.org> | 2002-03-06 19:58:19 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2002-03-06 19:58:19 +0000 |
commit | 3743cdef5b76b8b03f952c31a8a1e723ceb894ba (patch) | |
tree | 97928c842ea910b3daf9bf77e31d35232a2d3b49 | |
parent | 660621ca99325e83f522a5ca9b1dac8195a4dd05 (diff) | |
download | gstreamer-3743cdef5b76b8b03f952c31a8a1e723ceb894ba.tar.gz |
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
-rw-r--r-- | libs/gst/control/dparam_smooth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gst/control/dparam_smooth.c b/libs/gst/control/dparam_smooth.c index b42a13458d..64e053dd69 100644 --- a/libs/gst/control/dparam_smooth.c +++ b/libs/gst/control/dparam_smooth.c @@ -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); |