[gegl] setting explicitly the initial value of a variable in snn-mean.
- From: Victor Matheus de Araujo Oliveira <vmaolive src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] setting explicitly the initial value of a variable in snn-mean.
- Date: Wed, 27 Feb 2013 02:24:11 +0000 (UTC)
commit a18e814ee09f0d2c8ac6cf9e6b1bc770c0ed0bee
Author: Victor Oliveira <victormatheus gmail com>
Date: Tue Feb 26 23:23:19 2013 -0300
setting explicitly the initial value of a variable in snn-mean.
operations/common/snn-mean.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/snn-mean.c b/operations/common/snn-mean.c
index b76d56b..52d320c 100644
--- a/operations/common/snn-mean.c
+++ b/operations/common/snn-mean.c
@@ -147,7 +147,7 @@ snn_mean (GeglBuffer *src,
{
gint u,v;
- gfloat accumulated[4]={0,};
+ gfloat accumulated[4]={0.0f, 0.0f, 0.0f, 0.0f};
gint count=0;
/* iterate through the upper left quater of pixels */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]