[SCM] OCE packaging branch, upstream, updated. OCE-0.6.0-230-g17bea23
tpaviot
tpaviot at gmail.com
Fri Feb 24 18:50:45 UTC 2012
The following commit has been merged in the upstream branch:
commit d5ec86f670ed0b2a4d9365b1cb90b0f6e7300225
Author: tpaviot <tpaviot at gmail.com>
Date: Sun Jan 15 15:50:11 2012 +0100
[cppcheck-error-fix][uninitialized-variable]
[IntPatch/IntPatch_LineConstructor.cxx:1066]: (error) Uninitialized variable: utst1
[IntPatch/IntPatch_LineConstructor.cxx:1066]: (error) Uninitialized variable: vtst1
[IntPatch/IntPatch_LineConstructor.cxx:1067]: (error) Uninitialized variable: utst1
[IntPatch/IntPatch_LineConstructor.cxx:1068]: (error) Uninitialized variable: vtst1
diff --git a/src/IntPatch/IntPatch_LineConstructor.cxx b/src/IntPatch/IntPatch_LineConstructor.cxx
index b9ee35e..fb5a98b 100644
--- a/src/IntPatch/IntPatch_LineConstructor.cxx
+++ b/src/IntPatch/IntPatch_LineConstructor.cxx
@@ -1062,7 +1062,7 @@ static void TestWLineToRLine(const IntPatch_SequenceOfLine& slinref,
// check that the middle point is on arc
(WLine->Point(midInd).*piParOnS)(utst,vtst);
if (midInd == ParamMinOnLine) {
- Standard_Real utst1,vtst1;
+ Standard_Real utst1=0.0,vtst1=0.0;
(WLine->Point(midInd+1).*piParOnS)(utst1,vtst1);
utst = (utst+utst1)*0.5;
vtst = (vtst+vtst1)*0.5;
--
OCE packaging
More information about the debian-science-commits
mailing list