convolution-matrix: Remove dead code and variable

This commit is contained in:
Mukund Sivaraman 2011-10-06 09:06:27 +05:30
parent 7048d9e46e
commit b5288df912
1 changed files with 1 additions and 6 deletions

View File

@ -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)
{