diff options
author | Paul Gilbert | 2010-09-06 00:52:18 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 23:38:16 +0000 |
commit | b922b58f8d16864e373fbc60451b69e23030f3af (patch) | |
tree | 8dd2cc5b1d4bc0082c9c6d769627898194a7a1af | |
parent | 7db8be5d4d10f47d987d90709710142a510016fd (diff) | |
download | scummvm-rg350-b922b58f8d16864e373fbc60451b69e23030f3af.tar.gz scummvm-rg350-b922b58f8d16864e373fbc60451b69e23030f3af.tar.bz2 scummvm-rg350-b922b58f8d16864e373fbc60451b69e23030f3af.zip |
SWORD25: Fix for using uninitialised doubles
svn-id: r53324
-rw-r--r-- | engines/sword25/gfx/image/vectorimage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp index a24c702e6b..13ef9bf55d 100644 --- a/engines/sword25/gfx/image/vectorimage.cpp +++ b/engines/sword25/gfx/image/vectorimage.cpp @@ -191,7 +191,7 @@ Common::Rect flashRectToBSRect(VectorImage::SWFBitStream &bs) { // ----------------------------------------------------------------------------- Common::Rect CalculateBoundingBox(const VectorImageElement &vectorImageElement) { - double x0, y0, x1, y1; + double x0 = 0.0, y0 = 0.0, x1 = 0.0, y1 = 0.0; for (int j = vectorImageElement.getPathCount() - 1; j >= 0; j--) { ArtBpath *bez = vectorImageElement.getPathInfo(j).getVec(); |