[gimp] blinds: Remove dead variables and assignments
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] blinds: Remove dead variables and assignments
- Date: Mon, 10 Oct 2011 04:42:48 +0000 (UTC)
commit 1d1fd1a35d16916a43635a7949e2cf1e74f292de
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 10 09:46:57 2011 +0530
blinds: Remove dead variables and assignments
plug-ins/common/blinds.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/blinds.c b/plug-ins/common/blinds.c
index d2a24e0..d7019da 100644
--- a/plug-ins/common/blinds.c
+++ b/plug-ins/common/blinds.c
@@ -559,7 +559,7 @@ apply_blinds (GimpDrawable *drawable)
gint x, y;
GimpRGB background;
guchar bg[4];
- gint sel_x1, sel_y1, sel_x2, sel_y2;
+ gint sel_x1, sel_y1;
gint sel_width, sel_height;
gimp_context_get_background (&background);
@@ -574,9 +574,6 @@ apply_blinds (GimpDrawable *drawable)
&sel_width, &sel_height))
return;
- sel_x2 = sel_x1 + sel_width;
- sel_y2 = sel_y1 + sel_height;
-
gimp_pixel_rgn_init (&src_rgn, drawable,
sel_x1, sel_y1, sel_width, sel_height, FALSE, FALSE);
gimp_pixel_rgn_init (&des_rgn, drawable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]