initialize undo_type to shut up the compiler.

2003-09-17  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpeditselectiontool.c
	(gimp_edit_selection_tool_arrow_key): initialize undo_type to shut
	up the compiler.
This commit is contained in:
Michael Natterer 2003-09-17 22:00:10 +00:00 committed by Michael Natterer
parent 66cc2b98b5
commit b46c0f7f4d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-09-17 Michael Natterer <mitch@gimp.org>
* app/tools/gimpeditselectiontool.c
(gimp_edit_selection_tool_arrow_key): initialize undo_type to shut
up the compiler.
2003-09-17 Simon Budig <simon@gimp.org>
* app/vectors/gimpstroke.[ch]

View File

@ -984,7 +984,7 @@ gimp_edit_selection_tool_arrow_key (GimpTool *tool,
gboolean push_undo = TRUE;
GimpItem *item = NULL;
EditType edit_type = EDIT_MASK_TRANSLATE;
GimpUndoType undo_type;
GimpUndoType undo_type = GIMP_UNDO_GROUP_MASK;
const gchar *undo_desc = NULL;
/* check for mask translation first because the translate_layer