[gimp/metadata-browser] noise-randomize: Remove dead assignment and variable
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] noise-randomize: Remove dead assignment and variable
- Date: Fri, 2 Dec 2011 02:05:44 +0000 (UTC)
commit 7acff7921efc4623be81098b2dc0b4a0396f2042
Author: Mukund Sivaraman <muks banu com>
Date: Tue Oct 4 14:27:53 2011 +0530
noise-randomize: Remove dead assignment and variable
plug-ins/common/noise-randomize.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/noise-randomize.c b/plug-ins/common/noise-randomize.c
index d7fc400..1c8cbe7 100644
--- a/plug-ins/common/noise-randomize.c
+++ b/plug-ins/common/noise-randomize.c
@@ -482,7 +482,7 @@ randomize (GimpDrawable *drawable,
gint row, col;
gint x1, y1, x2, y2;
gint cnt;
- gint has_alpha, ind;
+ gint has_alpha;
gint i, j, k;
if (preview)
@@ -540,7 +540,6 @@ randomize (GimpDrawable *drawable,
randomize_prepare_row (sp, nr, x1, row + 1, (x2 - x1));
d = dest;
- ind = 0;
for (col = 0; col < (x2 - x1); col++)
{
if (g_rand_int_range (gr, 0, 100) <= (gint) pivals.rndm_pct)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]