tile: Delete dead variables and assignments
This commit is contained in:
@ -129,8 +129,6 @@ run (const gchar *name,
|
|||||||
GimpRunMode run_mode;
|
GimpRunMode run_mode;
|
||||||
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
|
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
|
||||||
gint32 new_layer = -1;
|
gint32 new_layer = -1;
|
||||||
gint width;
|
|
||||||
gint height;
|
|
||||||
|
|
||||||
run_mode = param[0].data.d_int32;
|
run_mode = param[0].data.d_int32;
|
||||||
|
|
||||||
@ -144,9 +142,6 @@ run (const gchar *name,
|
|||||||
values[1].type = GIMP_PDB_IMAGE;
|
values[1].type = GIMP_PDB_IMAGE;
|
||||||
values[2].type = GIMP_PDB_LAYER;
|
values[2].type = GIMP_PDB_LAYER;
|
||||||
|
|
||||||
width = gimp_drawable_width (param[2].data.d_drawable);
|
|
||||||
height = gimp_drawable_height (param[2].data.d_drawable);
|
|
||||||
|
|
||||||
switch (run_mode)
|
switch (run_mode)
|
||||||
{
|
{
|
||||||
case GIMP_RUN_INTERACTIVE:
|
case GIMP_RUN_INTERACTIVE:
|
||||||
|
Reference in New Issue
Block a user