[gegl] plasma: Remove static variable
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] plasma: Remove static variable
- Date: Thu, 30 Jun 2011 09:43:46 +0000 (UTC)
commit 4d5cc0c8512d8ac4f74963e6afe2c9268520a5f9
Author: Mukund Sivaraman <muks banu com>
Date: Thu Jun 30 15:03:03 2011 +0530
plasma: Remove static variable
operations/workshop/plasma.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/operations/workshop/plasma.c b/operations/workshop/plasma.c
index 3d0f567..83ddd9d 100644
--- a/operations/workshop/plasma.c
+++ b/operations/workshop/plasma.c
@@ -120,7 +120,6 @@ do_plasma_big (PlasmaContext *context,
gfloat tmp[4];
gint xm, ym;
gfloat ran;
- static gint count = 0;
xm = (x1 + x2) / 2;
ym = (y1 + y2) / 2;
@@ -218,7 +217,6 @@ do_plasma_big (PlasmaContext *context,
add_random (context->gr, mm, ran);
put_pixel_to_buffer (context->output, mm, xm, ym);
}
- count++;
return x2 - x1 < 3 && y2 - y1 < 3;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]