app: fixing "unused variable" warning.

The warning appeared as consequence of commit 281548a022 which made the
drawable variable (and consequently tool too) unused.
This commit is contained in:
Jehan 2024-09-15 17:03:16 +02:00
parent aa10a33db9
commit d225d58a22

View file

@ -2009,15 +2009,9 @@ void
gimp_filter_tool_set_config (GimpFilterTool *filter_tool,
GimpConfig *config)
{
GimpTool *tool;
GimpDrawable *drawable = NULL;
g_return_if_fail (GIMP_IS_FILTER_TOOL (filter_tool));
g_return_if_fail (GIMP_IS_OPERATION_SETTINGS (config));
tool = GIMP_TOOL (filter_tool);
drawable = tool->drawables->data;
/* if the user didn't change a setting since the last set_config(),
* this handler is still connected
*/