From: dooglus Date: Tue, 1 Jan 2008 14:50:29 +0000 (+0000) Subject: Prevent a compiler warning. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cb62e70ceca2a6544051a8d893395b0c0e73658b;p=synfig.git Prevent a compiler warning. git-svn-id: http://svn.voria.com/code@1247 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/layer_shape.cpp b/synfig-core/trunk/src/synfig/layer_shape.cpp index 86bc671..287d000 100644 --- a/synfig-core/trunk/src/synfig/layer_shape.cpp +++ b/synfig-core/trunk/src/synfig/layer_shape.cpp @@ -1291,7 +1291,7 @@ Layer_Shape::get_color(Context context, const Point &p)const //************** SCANLINE RENDERING ********************* void Layer_Shape::PolySpan::line_to(Real x, Real y) { - Real n[4]; + Real n[4] = {0,0,0,0}; bool afterx = false; const Real xin(x), yin(y);