[gimp/metadata-browser] mosaic: Remove dead assignments (and variables)
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] mosaic: Remove dead assignments (and variables)
- Date: Fri, 2 Dec 2011 02:03:18 +0000 (UTC)
commit 55cbaf649da2653b3aca10b8c4cbf6fa56bf0c8f
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 13:21:44 2011 +0530
mosaic: Remove dead assignments (and variables)
plug-ins/common/mosaic.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/mosaic.c b/plug-ins/common/mosaic.c
index 376e1b8..7abafc7 100644
--- a/plug-ins/common/mosaic.c
+++ b/plug-ins/common/mosaic.c
@@ -2048,7 +2048,7 @@ find_poly_dir (Polygon *poly,
gint xe, ye;
gint min_x, min_y;
gint max_x, max_y;
- gint size_x, size_y;
+ gint size_y;
gint *max_scanlines;
gint *min_scanlines;
guchar *dm, *dv, *dh;
@@ -2072,7 +2072,6 @@ find_poly_dir (Polygon *poly,
max_y = (gint) dmax_y;
size_y = max_y - min_y;
- size_x = max_x - min_x;
min_scanlines = g_new (gint, size_y);
max_scanlines = g_new (gint, size_y);
@@ -2164,7 +2163,7 @@ find_poly_color (Polygon *poly,
gint xe, ye;
gint min_x, min_y;
gint max_x, max_y;
- gint size_x, size_y;
+ gint size_y;
gint *max_scanlines;
gint *min_scanlines;
gint col_sum[4] = {0, 0, 0, 0};
@@ -2184,7 +2183,6 @@ find_poly_color (Polygon *poly,
max_y = (gint) dmax_y;
size_y = max_y - min_y;
- size_x = max_x - min_x;
min_scanlines = g_new (int, size_y);
max_scanlines = g_new (int, size_y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]