Prevent a compiler warning. (variable 'mag' is used uninitialised if iterations...
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / mandelbrot.cpp
index 3343bb2..5cc2fdf 100644 (file)
@@ -296,7 +296,7 @@ Mandelbrot::get_color(Context context, const Point &pos)const
                zr_hold;
 
        ColorReal
-               depth, mag;
+               depth, mag(0);
 
        Color
                ret;