diff --git a/ChangeLog b/ChangeLog index 7bdee5fa79..d4806465fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-01 Simon Budig + + * app/display/gimpdisplayshell-scale.c: initialize variable + to avoid stupid compiler warning. + 2004-02-01 Dave Neary * libgimpwidgets/gimpwidgets.c diff --git a/app/display/gimpdisplayshell-scale.c b/app/display/gimpdisplayshell-scale.c index e12e0d3c9f..ff1d6e4f57 100644 --- a/app/display/gimpdisplayshell-scale.c +++ b/app/display/gimpdisplayshell-scale.c @@ -75,7 +75,7 @@ gimp_display_shell_scale_zoom_step (GimpZoomType zoom_type, gdouble scale) { gint i, n_presets; - gdouble new_scale; + gdouble new_scale = 1.0; /* This table is constructed to have fractions, that approximate * sqrt(2)^k. This gives a smooth feeling regardless of the starting