From f94e0d52f183b9fc0aec9f72c425240959041b6f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 5 Nov 2013 09:11:35 +0100 Subject: Fix uninitialized variables --- bin/gui/control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/gui/control.c') diff --git a/bin/gui/control.c b/bin/gui/control.c index 2ad7af5..a73a6c1 100644 --- a/bin/gui/control.c +++ b/bin/gui/control.c @@ -87,13 +87,13 @@ up_and_down_scale (ThreadData *data, gpointer buffer) gdouble min; gdouble max; gdouble factor; - gdouble dval; + gdouble dval = 0.0; gboolean do_log; guint8 *output; gint i = 0; gint zoom; gint stride; - gint offset; + gint offset = 0; gint start_wval; gint start_hval; -- cgit v1.2.3