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
/
Draw
/
Draw_Window.hxx
diff --git
a/src/Draw/Draw_Window.hxx
b/src/Draw/Draw_Window.hxx
index
2b9614c
..
38b49d9
100644
(file)
--- a/
src/Draw/Draw_Window.hxx
+++ b/
src/Draw/Draw_Window.hxx
@@
-370,7
+370,13
@@
class Segment
friend class DrawWindow;
public :
//constructeur
- Segment () {}
+ Segment ()
+ : x1(0),
+ y1(0),
+ x2(0),
+ y2(0)
+ {
+ }
//destructeur
~Segment () {}