]> OCCT Git - occt-copy.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>
Sun, 8 Jul 2018 07:47:03 +0000 (10:47 +0300)
commit3d2be1ab607c7e949ebf63b329e0ebb51aa68a21
tree4422485d0f39f906554ec60741b28e75f862f835
parentbf4303ee0e4200b4035b6e02964e3616e2ef6018
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