summaryrefslogtreecommitdiffstats
path: root/bin/gui/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gui/control.c')
-rw-r--r--bin/gui/control.c4
1 files changed, 2 insertions, 2 deletions
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;