[gimp/metadata-browser] blinds: Remove dead variables and assignments
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] blinds: Remove dead variables and assignments
- Date: Fri, 2 Dec 2011 02:16:23 +0000 (UTC)
commit 81aa735528bbc6ab234f947460c1b162f5c00ca1
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]