]> OCCT Git - occt.git/commit
0029927: Coding Rules - eliminate GCC compiler warnings -Wmaybe-uninitialized in...
authorkgv <kgv@opencascade.com>
Wed, 4 Jul 2018 07:49:44 +0000 (10:49 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 6 Jul 2018 12:54:34 +0000 (15:54 +0300)
commitb053e5d673bb1ce74a5b7984c79a07e17dd9b35c
tree26d9a0661b3074d21f05a6edcced51210fb0ef2f
parent5efab28a44f3b237335cf5261261487979508378
0029927: Coding Rules - eliminate GCC compiler warnings -Wmaybe-uninitialized in BRepApprox

The code has been fixed to avoid taking a reference from a field of a temporary variable
(BRepApprox_ApproxLine::Point() returns non-reference structure).
src/ApproxInt/ApproxInt_Approx.gxx
src/ApproxInt/ApproxInt_MultiLine.gxx