From: dooglus Date: Fri, 7 Sep 2007 19:38:04 +0000 (+0000) Subject: Prevent a compiler warning. (variable 'mag' is used uninitialised if iterations... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b1f9fc7c870ef143a08dba4e9fcd873de053cafd;p=synfig.git Prevent a compiler warning. (variable 'mag' is used uninitialised if iterations is less than 1) git-svn-id: http://svn.voria.com/code@625 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp b/synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp index 3343bb2..5cc2fdf 100644 --- a/synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp @@ -296,7 +296,7 @@ Mandelbrot::get_color(Context context, const Point &pos)const zr_hold; ColorReal - depth, mag; + depth, mag(0); Color ret;