[gimp] gimpressionist: Move variable to local block and drop dead assignment
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] gimpressionist: Move variable to local block and drop dead assignment
- Date: Wed, 12 Oct 2011 11:59:51 +0000 (UTC)
commit cbf35fd5faf373c8cd914684409f3435a5904823
Author: Mukund Sivaraman <muks banu com>
Date: Wed Oct 12 16:47:53 2011 +0530
gimpressionist: Move variable to local block and drop dead assignment
plug-ins/gimpressionist/repaint.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/gimpressionist/repaint.c b/plug-ins/gimpressionist/repaint.c
index c56edce..ca7cbe2 100644
--- a/plug-ins/gimpressionist/repaint.c
+++ b/plug-ins/gimpressionist/repaint.c
@@ -361,7 +361,6 @@ repaint (ppm_t *p, ppm_t *a)
double *brushes_sum;
int cx, cy, maxdist;
double scale, relief, startangle, anglespan, density, bgamma;
- double thissum;
int max_progress;
ppm_t paper_ppm = {0, 0, NULL};
ppm_t dirmap = {0, 0, NULL};
@@ -465,7 +464,6 @@ repaint (ppm_t *p, ppm_t *a)
}
brush = &brushes[0];
- thissum = brushes_sum[0];
maxbrushwidth = maxbrushheight = 0;
for (i = 0; i < num_brushes; i++)
@@ -829,6 +827,7 @@ repaint (ppm_t *p, ppm_t *a)
for (; i; i--)
{
int n;
+ double thissum;
if (i % progstep == 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]