summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/gui/control.c4
-rw-r--r--bin/gui/egg-property-cell-renderer.c2
2 files changed, 3 insertions, 3 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;
diff --git a/bin/gui/egg-property-cell-renderer.c b/bin/gui/egg-property-cell-renderer.c
index 9df5cc3..825f4a2 100644
--- a/bin/gui/egg-property-cell-renderer.c
+++ b/bin/gui/egg-property-cell-renderer.c
@@ -119,7 +119,7 @@ egg_property_cell_renderer_set_renderer (EggPropertyCellRenderer *renderer,
EggPropertyCellRendererPrivate *priv;
GParamSpec *pspec;
gchar *text = NULL;
- gdouble number;
+ gdouble number = 0.0;
priv = EGG_PROPERTY_CELL_RENDERER_GET_PRIVATE (renderer);
pspec = get_pspec_from_object (priv->object, prop_name);