X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.cpp;h=6b1e4730a576f940137f0da64bc1dd4e03590677;hp=1558865f1c8c9a72ad7e1a2baaa74395ac8e6d37;hb=03cc1b0a0d0705e0b1d92e13fdb18608c7a00272;hpb=ea748154f1bc7dbc81cb52611a52865e63109439 diff --git a/src/document.cpp b/src/document.cpp index 1558865..6b1e473 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -831,7 +831,7 @@ pair Document::ParseSVGPathData(const string & d, const SVGM //Debug("Construct lineto command, relative %d", relative); Real dx = RealFromStr(GetToken(d,token,i,delims)); - Real dy; + Real dy = 0; if (command == "l" || command == "L") { assert(GetToken(d,token,i,delims) == ",");