[gegl] operations: Fix warning in fattal02.c
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: Fix warning in fattal02.c
- Date: Tue, 31 Aug 2010 20:17:34 +0000 (UTC)
commit 0f19a859e0d502f839c5837ed5880c8368418019
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Aug 31 22:25:44 2010 +0200
operations: Fix warning in fattal02.c
operations/common/fattal02.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/fattal02.c b/operations/common/fattal02.c
index d02f5bf..d3f348e 100644
--- a/operations/common/fattal02.c
+++ b/operations/common/fattal02.c
@@ -590,6 +590,9 @@ linbcg (guint rows,
gfloat ak,akden,bk,bkden,bknum,bnrm,dxnrm,xnrm,zm1nrm,znrm;
gfloat *p,*pp,*r,*rr,*z,*zz;
+ /* To remove warning about potetial uninitialized use */
+ bkden = 1;
+
p = g_new (gfloat, n);
pp = g_new (gfloat, n);
r = g_new (gfloat, n);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]