From b46c0f7f4d88e03af3ba5a05dfa3328e34d253e3 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 17 Sep 2003 22:00:10 +0000 Subject: [PATCH] initialize undo_type to shut up the compiler. 2003-09-17 Michael Natterer * app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_arrow_key): initialize undo_type to shut up the compiler. --- ChangeLog | 6 ++++++ app/tools/gimpeditselectiontool.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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