Commit d9840893 authored by Jehan's avatar Jehan

app: remove useless code.

Fixes warning brought by my commit 015f4946:
> warning: variable ‘max_position’ set but not used [-Wunused-but-set-variable]
parent c800b262
Pipeline #259635 failed with stages
in 27 minutes and 3 seconds
......@@ -167,12 +167,6 @@ gimp_guide_tool_button_release (GimpTool *tool,
for (i = 0; i < guide_tool->n_guides; i++)
{
GimpGuideToolGuide *guide = &guide_tool->guides[i];
gint max_position;
if (guide->orientation == GIMP_ORIENTATION_HORIZONTAL)
max_position = gimp_image_get_height (image);
else
max_position = gimp_image_get_width (image);
n_non_custom_guides += ! guide->custom;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment