]> OCCT Git - occt-copy.git/commit
0029164: GCC 7.1 compiler warnings -Wmaybe-uninitialized in gp_XYZ and siblings
authorabv <abv@opencascade.com>
Fri, 29 Sep 2017 15:35:03 +0000 (18:35 +0300)
committerkgv <kgv@opencascade.com>
Mon, 4 Dec 2017 18:16:53 +0000 (21:16 +0300)
commitf9537f4b6077f0edaa1699513991bcce8e1691aa
treedae22ef71ea1ffc927e6ef29310010d1a1f26566
parent2cbde78e053ee1e1cfccb6666c8446c35ed8cadb
0029164: GCC 7.1 compiler warnings -Wmaybe-uninitialized in gp_XYZ and siblings

Code is corrected to avoid local variables of reference type pointing to fields of temporary objects.
src/AIS/AIS_EqualDistanceRelation.cxx
src/BRepClass3d/BRepClass3d_SClassifier.cxx
src/DrawDim/DrawDim_Distance.cxx
src/TopOpeBRepTool/TopOpeBRepTool_GEOMETRY.cxx
src/TopOpeBRepTool/TopOpeBRepTool_TOOL.cxx