[gimp] app (paint-funcs): Delete dead assignment and move variable
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app (paint-funcs): Delete dead assignment and move variable
- Date: Tue, 4 Oct 2011 09:28:00 +0000 (UTC)
commit 1c730f94ac46c25d691d89c17b7aa8dda9c26b07
Author: Mukund Sivaraman <muks banu com>
Date: Tue Oct 4 14:55:41 2011 +0530
app (paint-funcs): Delete dead assignment and move variable
app/paint-funcs/paint-funcs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/paint-funcs/paint-funcs.c b/app/paint-funcs/paint-funcs.c
index ff455ec..04a8b3a 100644
--- a/app/paint-funcs/paint-funcs.c
+++ b/app/paint-funcs/paint-funcs.c
@@ -3366,7 +3366,6 @@ border_region (PixelRegion *src,
/* TODO: Figure out role clearly in algorithm. */
guchar **density;
- guchar last_max;
gint16 last_index;
if (xradius < 0 || yradius < 0)
@@ -3607,12 +3606,13 @@ border_region (PixelRegion *src,
max[x] = -yradius - 1;
}
- last_max = max[0][density[-1]];
last_index = 1;
/* render scan line */
for (x = 0 ; x < src->w; x++)
{
+ guchar last_max;
+
last_index--;
if (last_index >= 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]