[gimp/metadata-browser] warp: Delete dead variables and assignments
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] warp: Delete dead variables and assignments
- Date: Fri, 2 Dec 2011 02:18:40 +0000 (UTC)
commit d8ddb5730252159a52e1bb06a1ae8fc317fe9d7a
Author: Mukund Sivaraman <muks banu com>
Date: Tue Oct 11 10:19:43 2011 +0530
warp: Delete dead variables and assignments
plug-ins/common/warp.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/warp.c b/plug-ins/common/warp.c
index 6fd3554..11105a3 100644
--- a/plug-ins/common/warp.c
+++ b/plug-ins/common/warp.c
@@ -1212,8 +1212,6 @@ warp (GimpDrawable *orig_draw)
gboolean first_time = TRUE;
gint width;
gint height;
- gint orig_image_id;
- gint image_type;
gint x1, y1, x2, y2;
gint32 xdlayer = -1;
gint32 ydlayer = -1;
@@ -1239,7 +1237,6 @@ warp (GimpDrawable *orig_draw)
width = orig_draw->width;
height = orig_draw->height;
- image_type = gimp_drawable_type (orig_draw->drawable_id);
/* generate x,y differential images (arrays) */
diff (disp_map, &xdlayer, &ydlayer);
@@ -1247,8 +1244,6 @@ warp (GimpDrawable *orig_draw)
map_x = gimp_drawable_get (xdlayer);
map_y = gimp_drawable_get (ydlayer);
- orig_image_id = gimp_item_get_image (orig_draw->drawable_id);
-
for (warp_iter = 0; warp_iter < dvals.iter; warp_iter++)
{
gimp_progress_init_printf (_("Flow step %d"), warp_iter+1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]