diff --git a/ChangeLog b/ChangeLog index a14475cdbd..576dfa2821 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-05-20 Sven Neumann + + * app/core/gimpimage-rotate.c (gimp_image_rotate): fixed a harmless + compiler warning. + 2003-05-20 Michael Natterer * app/core/gimpchannel.c (gimp_channel_rotate): don't default to diff --git a/app/core/gimpimage-rotate.c b/app/core/gimpimage-rotate.c index 34ce4d1404..e3804f9a03 100644 --- a/app/core/gimpimage-rotate.c +++ b/app/core/gimpimage-rotate.c @@ -56,7 +56,7 @@ gimp_image_rotate (GimpImage *gimage, gint progress_current = 1; gint new_image_width; gint new_image_height; - gboolean size_changed = FALSE; + gboolean size_changed; g_return_if_fail (GIMP_IS_IMAGE (gimage)); @@ -93,6 +93,10 @@ gimp_image_rotate (GimpImage *gimage, new_image_height = gimage->height; size_changed = FALSE; break; + + default: + g_assert_not_reached (); + return; } /* Rotate all channels */