projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ca2a3
)
0025258: Uninitialized class field in IntPatch_CSFunction
author
pdn
<pdn@opencascade.com>
Mon, 22 Sep 2014 15:56:36 +0000
(19:56 +0400)
committer
bugmaster
<bugmaster@opencascade.com>
Thu, 25 Sep 2014 11:58:30 +0000
(15:58 +0400)
Field f is initialized by zero
src/IntPatch/IntPatch_CSFunction.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/IntPatch/IntPatch_CSFunction.cxx
b/src/IntPatch/IntPatch_CSFunction.cxx
index
f8e540b
..
d8b5194
100644
(file)
--- a/
src/IntPatch/IntPatch_CSFunction.cxx
+++ b/
src/IntPatch/IntPatch_CSFunction.cxx
@@
-41,6
+41,7
@@
IntPatch_CSFunction::IntPatch_CSFunction(const Handle(Adaptor3d_HSurface)& S1,
surface1 = (Standard_Address)(&S1);
surface2 = (Standard_Address)(&S2);
curve = (Standard_Address)(&C);
+ f = 0.;
}
Standard_Integer IntPatch_CSFunction::NbVariables()const { return 3;}