projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git]
/
src
/
Law
/
Law_Linear.cxx
diff --git
a/src/Law/Law_Linear.cxx
b/src/Law/Law_Linear.cxx
index
64f57a3
..
08de8e8
100644
(file)
--- a/
src/Law/Law_Linear.cxx
+++ b/
src/Law/Law_Linear.cxx
@@
-23,7
+23,13
@@
IMPLEMENT_STANDARD_RTTIEXT(Law_Linear,Law_Function)
-Law_Linear::Law_Linear () {}
+Law_Linear::Law_Linear ()
+: valdeb(0.0),
+ valfin(0.0),
+ pdeb(0.0),
+ pfin(0.0)
+{
+}
void Law_Linear::Set (const Standard_Real Pdeb,