FLUID: Fixes uninitialized class member
This commit is contained in:
parent
f269367d41
commit
c454930966
@ -489,30 +489,33 @@ void update_visibility_flag(Fl_Type *p) {
|
|||||||
Constructor and base for any node in the widget tree.
|
Constructor and base for any node in the widget tree.
|
||||||
*/
|
*/
|
||||||
Fl_Type::Fl_Type() :
|
Fl_Type::Fl_Type() :
|
||||||
uid_(0),
|
name_(NULL),
|
||||||
code_static_start(-1), code_static_end(-1),
|
label_(NULL),
|
||||||
code1_start(-1), code1_end(-1),
|
callback_(NULL),
|
||||||
code2_start(-1), code2_end(-1),
|
user_data_(NULL),
|
||||||
header1_start(-1), header1_end(-1),
|
user_data_type_(NULL),
|
||||||
header2_start(-1), header2_end(-1),
|
comment_(NULL),
|
||||||
header_static_start(-1), header_static_end(-1),
|
uid_(0),
|
||||||
proj1_start(-1), proj1_end(-1),
|
parent(NULL),
|
||||||
proj2_start(-1), proj2_end(-1)
|
new_selected(0),
|
||||||
|
selected(0),
|
||||||
|
folded_(0),
|
||||||
|
visible(0),
|
||||||
|
level(0),
|
||||||
|
next(NULL), prev(NULL),
|
||||||
|
factory(NULL),
|
||||||
|
code_static_start(-1), code_static_end(-1),
|
||||||
|
code1_start(-1), code1_end(-1),
|
||||||
|
code2_start(-1), code2_end(-1),
|
||||||
|
header1_start(-1), header1_end(-1),
|
||||||
|
header2_start(-1), header2_end(-1),
|
||||||
|
header_static_start(-1), header_static_end(-1),
|
||||||
|
proj1_start(-1), proj1_end(-1),
|
||||||
|
proj2_start(-1), proj2_end(-1)
|
||||||
{
|
{
|
||||||
factory = 0;
|
|
||||||
parent = 0;
|
|
||||||
next = prev = 0;
|
|
||||||
selected = new_selected = 0;
|
|
||||||
visible = 0;
|
|
||||||
name_ = 0;
|
|
||||||
label_ = 0;
|
|
||||||
user_data_ = 0;
|
|
||||||
user_data_type_ = 0;
|
|
||||||
callback_ = 0;
|
|
||||||
comment_ = 0;
|
|
||||||
level = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destructor for any node in the tree.
|
Destructor for any node in the tree.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user