diff --git a/ChangeLog b/ChangeLog index 029964e7a6..915241f3dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-09-17 Michael Natterer + + * app/tools/gimpeditselectiontool.c + (gimp_edit_selection_tool_arrow_key): initialize undo_type to shut + up the compiler. + 2003-09-17 Simon Budig * app/vectors/gimpstroke.[ch] diff --git a/app/tools/gimpeditselectiontool.c b/app/tools/gimpeditselectiontool.c index 3c1dd4a0cd..1ee704123a 100644 --- a/app/tools/gimpeditselectiontool.c +++ b/app/tools/gimpeditselectiontool.c @@ -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