plug-ins: Remove unused variable in file-tiff-load.c

Resolves #13411
While implementing the Sketchbook layers import
code in TIFF, we originally used a procedure to do
part of the processing. This code was replaced, but
the unused variable was left behind. This patch
removes it to reduce warnings on compile.
This commit is contained in:
Alx Sa 2025-03-26 23:22:21 +00:00
parent befc8ed444
commit 083cd67c87
1 changed files with 13 additions and 14 deletions

View File

@ -2395,20 +2395,19 @@ load_sketchbook_layers (TIFF *tif,
if (TIFFGetField (tif, TIFFTAG_ALIAS_LAYER_METADATA, &alias_sublayer_len, &alias_sublayer_info) &&
g_utf8_validate (alias_sublayer_info, -1, NULL))
{
gchar **layer_settings;
GimpProcedure *procedure;
GimpLayer *layer;
GeglBuffer *buffer;
const gchar *layer_name;
guint32 layer_width = 0;
guint32 layer_height = 0;
gfloat x_pos = 0;
gfloat y_pos = 0;
gfloat opacity = 100;
gboolean visible = TRUE;
gboolean locked = FALSE;
guint32 *pixels;
guint32 row;
gchar **layer_settings;
GimpLayer *layer;
GeglBuffer *buffer;
const gchar *layer_name;
guint32 layer_width = 0;
guint32 layer_height = 0;
gfloat x_pos = 0;
gfloat y_pos = 0;
gfloat opacity = 100;
gboolean visible = TRUE;
gboolean locked = FALSE;
guint32 *pixels;
guint32 row;
layer_settings = g_strsplit (alias_sublayer_info, ", ", 10);