From 4f078966ee655a44fcd9f8c899784f3347121476 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 7 Sep 2007 19:36:50 +0000 Subject: [PATCH] Prevent a compiler warning. (variable mag is used uninitialised if iterations is set to zero or less). git-svn-id: http://svn.voria.com/code@624 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/lyr_std/julia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/modules/lyr_std/julia.cpp b/synfig-core/trunk/src/modules/lyr_std/julia.cpp index 9efd7d1..51f0e8a 100644 --- a/synfig-core/trunk/src/modules/lyr_std/julia.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/julia.cpp @@ -204,7 +204,7 @@ Julia::get_color(Context context, const Point &pos)const zr_hold; ColorReal - depth, mag; + depth, mag(0); Color ret; -- 2.7.4