1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0025258: Uninitialized class field in IntPatch_CSFunction

Field f is initialized by zero
This commit is contained in:
pdn
2014-09-22 19:56:36 +04:00
committed by bugmaster
parent a2ca2a304f
commit 7dc9a40776

View File

@@ -41,6 +41,7 @@ IntPatch_CSFunction::IntPatch_CSFunction(const Handle(Adaptor3d_HSurface)& S1,
surface1 = (Standard_Address)(&S1); surface1 = (Standard_Address)(&S1);
surface2 = (Standard_Address)(&S2); surface2 = (Standard_Address)(&S2);
curve = (Standard_Address)(&C); curve = (Standard_Address)(&C);
f = 0.;
} }
Standard_Integer IntPatch_CSFunction::NbVariables()const { return 3;} Standard_Integer IntPatch_CSFunction::NbVariables()const { return 3;}