[gimp/metadata-browser] convolution-matrix: Remove dead code and variable
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] convolution-matrix: Remove dead code and variable
- Date: Fri, 2 Dec 2011 02:09:20 +0000 (UTC)
commit 8d406d705c28e6e010a061311aeaa6f2c32ebee6
Author: Mukund Sivaraman <muks banu com>
Date: Thu Oct 6 09:06:27 2011 +0530
convolution-matrix: Remove dead code and variable
plug-ins/common/convolution-matrix.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/common/convolution-matrix.c b/plug-ins/common/convolution-matrix.c
index cc50719..79aca0b 100644
--- a/plug-ins/common/convolution-matrix.c
+++ b/plug-ins/common/convolution-matrix.c
@@ -761,16 +761,11 @@ static void
check_matrix (void)
{
gint x, y;
- gboolean valid = FALSE;
gfloat sum = 0.0;
for (y = 0; y < MATRIX_SIZE; y++)
for (x = 0; x < MATRIX_SIZE; x++)
- {
- sum += config.matrix[x][y];
- if (config.matrix[x][y] != 0.0)
- valid = TRUE;
- }
+ sum += config.matrix[x][y];
if (config.autoset)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]