summaryrefslogtreecommitdiffstats
path: root/bin/gui/control.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-11-05 09:11:35 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-11-05 09:12:05 +0100
commitf94e0d52f183b9fc0aec9f72c425240959041b6f (patch)
tree73b9f2bf88d14c9947aa40397a5937c16b263bcd /bin/gui/control.c
parent80ac5c5d183d6efc3e554a638770637086f0fb78 (diff)
downloaduca-f94e0d52f183b9fc0aec9f72c425240959041b6f.tar.gz
uca-f94e0d52f183b9fc0aec9f72c425240959041b6f.tar.bz2
uca-f94e0d52f183b9fc0aec9f72c425240959041b6f.tar.xz
uca-f94e0d52f183b9fc0aec9f72c425240959041b6f.zip
Fix uninitialized variables
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;