mirror of https://github.com/GNOME/gimp.git
convolution-matrix: Remove dead code and variable
This commit is contained in:
parent
7048d9e46e
commit
b5288df912
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue