initialize variables to suppress a compiler warning.

2007-10-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_coord_on_handle):
	initialize variables to suppress a compiler warning.

svn path=/trunk/; revision=23983
This commit is contained in:
Sven Neumann 2007-10-29 17:11:17 +00:00 committed by Sven Neumann
parent 537c27f024
commit 3057677e59
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-10-29 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_coord_on_handle):
initialize variables to suppress a compiler warning.
2007-10-28 Sven Neumann <sven@gimp.org>
* app/pdb/gimppdb.c (gimp_pdb_execute_procedure_by_name): also

View File

@ -2450,10 +2450,10 @@ gimp_rectangle_tool_coord_on_handle (GimpRectangleTool *rectangle_tool,
gint h;
gint tw;
gint th;
gint handle_x;
gint handle_y;
gint handle_width;
gint handle_height;
gint handle_x = 0;
gint handle_y = 0;
gint handle_width = 0;
gint handle_height = 0;
private = GIMP_RECTANGLE_TOOL_GET_PRIVATE (rectangle_tool);
tool = GIMP_TOOL (rectangle_tool);