Remove unused local variables sw and sh.

2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_setup): Remove unused local variables sw
	and sh.

svn path=/trunk/; revision=26483
This commit is contained in:
Martin Nordholts 2008-08-10 11:40:00 +00:00 committed by Martin Nordholts
parent 4bbe4c81b8
commit c023ac02f9
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scale.c
(gimp_display_shell_scale_setup): Remove unused local variables sw
and sh.
2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
* app/display/gimpdisplayshell-scroll.[ch]: Renamed

View File

@ -89,7 +89,6 @@ void
gimp_display_shell_scale_setup (GimpDisplayShell *shell)
{
GimpImage *image;
gfloat sw, sh;
gint image_width;
gint image_height;
@ -104,17 +103,11 @@ gimp_display_shell_scale_setup (GimpDisplayShell *shell)
{
image_width = gimp_image_get_width (image);
image_height = gimp_image_get_height (image);
sw = SCALEX (shell, image_width);
sh = SCALEY (shell, image_height);
}
else
{
image_width = shell->disp_width;
image_height = shell->disp_height;
sw = image_width;
sh = image_height;
}