From 7c27d0d2ebde5b19403d4957a1d18e1703205408 Mon Sep 17 00:00:00 2001 From: William Skaggs Date: Tue, 27 Nov 2007 19:28:38 +0000 Subject: [PATCH] Bill Skaggs * app/tools/gimprectangletool.c: initialize vars to quiet stupid compile warnings. svn path=/trunk/; revision=24236 --- ChangeLog | 5 +++++ app/tools/gimprectangletool.c | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e10ed48b2..1c577d3e9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-27 Bill Skaggs + + * app/tools/gimprectangletool.c: initialize vars to quiet + stupid compile warnings. + 2007-11-26 Sven Neumann * app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed): diff --git a/app/tools/gimprectangletool.c b/app/tools/gimprectangletool.c index 9013bfd073..ec89c1b719 100644 --- a/app/tools/gimprectangletool.c +++ b/app/tools/gimprectangletool.c @@ -2425,8 +2425,12 @@ gimp_rectangle_tool_coord_on_handle (GimpRectangleTool *rect_tool, GimpTool *tool; gdouble pub_x1, pub_y1, pub_x2, pub_y2; gdouble rect_w, rect_h; - gdouble handle_x, handle_y, handle_width, handle_height; - gint narrow_mode_x_dir, narrow_mode_y_dir; + gdouble handle_x = 0; + gdouble handle_y = 0; + gdouble handle_width = 0; + gdouble handle_height = 0; + gint narrow_mode_x_dir = 0; + gint narrow_mode_y_dir = 0; tool = GIMP_TOOL (rect_tool); draw_tool = GIMP_DRAW_TOOL (tool);