From 1ecf65a960ca56cc4942c946f27d2abd6eabc129 Mon Sep 17 00:00:00 2001 From: ishmal Date: Thu, 1 Jun 2006 05:32:25 +0000 Subject: [PATCH] remove warnings --- src/dom/svg/svgparser.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/dom/svg/svgparser.cpp b/src/dom/svg/svgparser.cpp index d2da3150c..0a0dd3f13 100644 --- a/src/dom/svg/svgparser.cpp +++ b/src/dom/svg/svgparser.cpp @@ -320,7 +320,7 @@ bool SvgParser::parseTransform(const DOMString &str) while (p < parselen && nrVals < 6) { p = skipwhite(p); - double val; + double val = 0.0; p2 = getNumber(p, val); if (p2<0) return false; @@ -375,7 +375,7 @@ bool SvgParser::parseTransform(const DOMString &str) return false; } p = skipwhite(p); - double x; + double x = 0.0; p2 = getNumber(p, x); if (p2<0) return false; @@ -390,7 +390,7 @@ bool SvgParser::parseTransform(const DOMString &str) p++; p = skipwhite(p); } - double y; + double y = 0.0; p2 = getNumber(p, y); if (p2<0) return false; @@ -418,7 +418,7 @@ bool SvgParser::parseTransform(const DOMString &str) return false; } p = skipwhite(p); - double x; + double x = 0.0; p2 = getNumber(p, x); if (p2<0) return false; @@ -433,7 +433,7 @@ bool SvgParser::parseTransform(const DOMString &str) p++; p = skipwhite(p); } - double y; + double y = 0.0; p2 = getNumber(p, y); if (p2<0) return false; @@ -461,7 +461,7 @@ bool SvgParser::parseTransform(const DOMString &str) return false; } p = skipwhite(p); - double angle; + double angle = 0.0; p2 = getNumber(p, angle); if (p2<0) return false; @@ -518,7 +518,7 @@ bool SvgParser::parseTransform(const DOMString &str) return false; } p = skipwhite(p); - double x; + double x = 0.0; p2 = getNumber(p, x); if (p2<0) return false; @@ -549,7 +549,7 @@ bool SvgParser::parseTransform(const DOMString &str) return false; } p = skipwhite(p); - double y; + double y = 0.0; p2 = getNumber(p, y); if (p2<0) return false; -- 2.30.2